Merge remote-tracking branch 'savannah/master' into HEAD
This commit is contained in:
commit
d432cbeb27
66 changed files with 1466 additions and 315 deletions
|
@ -1049,7 +1049,7 @@ write its autoloads into the specified file instead."
|
|||
;; what is the suffix for the underlying OS.
|
||||
(unless (string-match "\\.\\(elc\\|eln\\|so\\|dll\\)" suf)
|
||||
(push suf tmp)))
|
||||
(concat "^[^=.].*" (regexp-opt tmp t) "\\'")))
|
||||
(concat "\\`[^=.].*" (regexp-opt tmp t) "\\'")))
|
||||
(files (apply #'nconc
|
||||
(mapcar (lambda (dir)
|
||||
(directory-files (expand-file-name dir)
|
||||
|
|
|
@ -99,7 +99,8 @@ See the documentation for `list-load-path-shadows' for further information."
|
|||
(setq true-names (append true-names (list dir)))
|
||||
(setq dir (directory-file-name (or pp ".")))
|
||||
(setq curr-files (if (file-accessible-directory-p dir)
|
||||
(directory-files dir nil ".\\.elc?\\(\\.gz\\)?$" t)))
|
||||
(directory-files dir nil
|
||||
"\\.elc?\\(?:\\.gz\\)?\\'" t)))
|
||||
(and curr-files
|
||||
(not noninteractive)
|
||||
(message "Checking %d files in %s..." (length curr-files) dir))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue