mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 10:31:37 -08:00
(byte-compile-find-cl-functions): Match
against file-name-nondirectory. Fix text on user customization variables.
This commit is contained in:
parent
089a966d56
commit
7940bf7dc0
2 changed files with 10 additions and 2 deletions
|
|
@ -98,7 +98,7 @@
|
|||
;; `obsolete' (obsolete variables and functions)
|
||||
;; `noruntime' (calls to functions only defined
|
||||
;; within `eval-when-compile')
|
||||
;; `cl-warnings' (calls to CL functions)
|
||||
;; `cl-functions' (calls to CL functions)
|
||||
;; `interactive-only' (calls to commands that are
|
||||
;; not good to call from Lisp)
|
||||
;; `make-local' (dubious calls to
|
||||
|
|
@ -1348,7 +1348,8 @@ extra args."
|
|||
(unless byte-compile-cl-functions
|
||||
(dolist (elt load-history)
|
||||
(when (and (stringp (car elt))
|
||||
(string-match "^cl\\>" (car elt)))
|
||||
(string-match
|
||||
"^cl\\>" (file-name-nondirectory (car elt))))
|
||||
(setq byte-compile-cl-functions
|
||||
(append byte-compile-cl-functions
|
||||
(cdr elt)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue