Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5f34457e
Commit
5f34457e
authored
May 22, 2000
by
Dave Love
Browse files
(PC-look-for-include-file): Use :alnum: character class.
(partial-completion-mode): Add autoload cookie.
parent
643c911e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/complete.el
lisp/complete.el
+2
-1
No files found.
lisp/complete.el
View file @
5f34457e
...
...
@@ -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 properties are considered."
(
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
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment