diff lisp/help-fns.el @ 66523:7ca34a6ac6c6

(describe-simplify-lib-file-name): Fix regexp.
author Romain Francoise <romain@orebokech.com>
date Sat, 29 Oct 2005 14:12:08 +0000
parents ecdadc99bf8c
children 35ee6fbeca84
line wrap: on
line diff
--- a/lisp/help-fns.el	Sat Oct 29 11:40:18 2005 +0000
+++ b/lisp/help-fns.el	Sat Oct 29 14:12:08 2005 +0000
@@ -291,7 +291,7 @@
 	;; 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))))