]> git.eshelyaron.com Git - emacs.git/commitdiff
(byte-compile-find-cl-functions): Match
authorMartin Rudalics <rudalics@gmx.at>
Sun, 10 Jun 2007 16:15:10 +0000 (16:15 +0000)
committerMartin Rudalics <rudalics@gmx.at>
Sun, 10 Jun 2007 16:15:10 +0000 (16:15 +0000)
against file-name-nondirectory.
Fix text on user customization variables.

lisp/ChangeLog
lisp/emacs-lisp/bytecomp.el

index 337e0be3ef97e175742af90cff6f704d89ecbaa7..c0b00b8fbb132960fd2d0b9e47559a13ae938da5 100644 (file)
@@ -1,3 +1,10 @@
+2007-06-10  Martin Rudalics  <rudalics@gmx.at>
+
+       * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions): Match
+       against file-name-nondirectory.
+       Fix text on user customization variables.
+       Reported by Johan Bockg\e,Ae\e(Brd <bojohan@dd.chalmers.se>.
+
 2007-06-09  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)
 
        * mail/rmail.el (rmail-movemail-variant-in-use): Fix doc typo.
index 0a37f098a7bd691b97ba7ea689deba44ffbd5beb..619b7533ca76d365dd405dae8d301cc567e951a3 100644 (file)
@@ -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)))))