changeset 29088:6dce569d0615

(PC-look-for-include-file): Use :alnum: character class. (partial-completion-mode): Add autoload cookie.
author Dave Love <fx@gnu.org>
date Mon, 22 May 2000 19:14:50 +0000
parents d6e90113152f
children cdecd2b73d56
files lisp/complete.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/complete.el	Mon May 22 19:00:13 2000 +0000
+++ b/lisp/complete.el	Mon May 22 19:14:50 2000 +0000
@@ -97,6 +97,7 @@
   :group 'minibuffer
   :group 'convenience)
 
+;;;###autoload
 (defcustom partial-completion-mode nil
   "Toggle Partial Completion mode.
 When Partial Completion mode is enabled, TAB (or M-TAB if `PC-meta-flag' is
@@ -829,7 +830,7 @@
 			  (or (string-match "\\.el$" name)
 			      (setq name (concat name ".el")))))
 		    (error "Not on an #include line"))))))
-	(or (string-match "\\.[a-zA-Z0-9]+$" name)
+	(or (string-match "\\.[[:alnum:]]+$" name)
 	    (setq name (concat name ".h")))
 	(if (eq punc ?\<)
 	    (let ((path (or path (PC-include-file-path))))