Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d72700e5
Commit
d72700e5
authored
Mar 15, 2011
by
Chong Yidong
Browse files
* lisp/startup.el (command-line): Update package subdirectory regexp.
parent
1e660395
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/startup.el
lisp/startup.el
+1
-1
No files found.
lisp/ChangeLog
View file @
d72700e5
2011-03-15 Chong Yidong <cyd@stupidchicken.com>
* startup.el (command-line): Update package subdirectory regexp.
2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
* allout.el (allout-abbreviate-flattened-numbering)
...
...
lisp/startup.el
View file @
d72700e5
...
...
@@ -1191,7 +1191,7 @@ the `--debug-init' option to view a complete error backtrace."
(dolist (subdir (directory-files dir))
(when (and (file-directory-p (expand-file-name subdir dir))
;; package-subdirectory-regexp from package.el
(string-match "
^
\\
(
[^.].*\\
)
-\\
(
[0-9]+\\
(
?:[.][0-9]+\\
)
*\\
)
$
"
(string-match "
\\
`
\\
(
[^.].*
?
\\
)
-\\
(
[0-9]+\\
(
?:[.][0-9]+\\
|\\(?:pre\\|beta\\|alpha\\)[0-9]+\\
)*\\)
\\'
"
subdir))
(throw 'package-dir-found t)))))))
(package-initialize))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment