diff options
author | Romain Francoise <romain@orebokech.com> | 2005-10-29 14:12:08 +0000 |
---|---|---|
committer | Romain Francoise <romain@orebokech.com> | 2005-10-29 14:12:08 +0000 |
commit | 1cf586a447d772dab3aff337b983f6cb4cc28b0d (patch) | |
tree | 2243189cbcb6b56cff09a8bf90b9ffd76aec30d1 /lisp | |
parent | feb2f36476ad99ed7f70bf7048ebe03ce6c19c19 (diff) | |
download | emacs-1cf586a447d772dab3aff337b983f6cb4cc28b0d.tar.gz emacs-1cf586a447d772dab3aff337b983f6cb4cc28b0d.tar.bz2 emacs-1cf586a447d772dab3aff337b983f6cb4cc28b0d.zip |
(describe-simplify-lib-file-name): Fix regexp.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/help-fns.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fbb9692b6b2..2dcc50d873a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2005-10-29 Romain Francoise <romain@orebokech.com> + + * help-fns.el (describe-simplify-lib-file-name): Fix regexp. + 2005-10-29 Ken Manheimer <ken.manheimer@gmail.com> * pgg-gpg.el diff --git a/lisp/help-fns.el b/lisp/help-fns.el index cffe313fd6c..88f32003867 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -291,7 +291,7 @@ face (according to `face-differs-from-default-p')." ;; Now convert that back to a file name and see if we get ;; the original one. If so, they are equivalent. (if (equal file (locate-file libname load-path '(""))) - (if (string-match "[.]elc?\\'" libname) + (if (string-match "[.]elc\\'" libname) (substring libname 0 -1) libname) file)))) |