mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-07 06:50:23 -08:00
Clean-up some now unnecessary diff against master
* lisp/emacs-lisp/autoload.el (update-directory-autoloads): .eln files have been moved so remove the '.eln' match. * lisp/emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): Likewise. * lisp/emacs-lisp/find-func.el (find-library-suffixes): Clean-up as '.eln' is no more in `load-suffixes'. * lisp/help-fns.el (find-lisp-object-file-name): Clean-up as `symbol-file' will return the '.elc' file. * src/lread.c (Fget_load_suffixes): Remove logic as '.eln' is not anymore in load-suffixes. (openp): Two spaces.
This commit is contained in:
parent
dc0cf16c7a
commit
a06fe08e8e
5 changed files with 9 additions and 33 deletions
|
|
@ -5180,8 +5180,7 @@ Use with caution."
|
|||
(message "Can't find %s to refresh preloaded Lisp files" argv0)
|
||||
(dolist (f (reverse load-history))
|
||||
(setq f (car f))
|
||||
(when (string-match "el[cn]\\'" f)
|
||||
(setq f (substring f 0 -1)))
|
||||
(if (string-match "elc\\'" f) (setq f (substring f 0 -1)))
|
||||
(when (and (file-readable-p f)
|
||||
(file-newer-than-file-p f emacs-file)
|
||||
;; Don't reload the source version of the files below
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue