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
76e91049
Commit
76e91049
authored
Sep 01, 1994
by
Richard M. Stallman
Browse files
(completion-before-command): Don't call get on a non-symbol.
parent
ea50c238
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/completion.el
lisp/completion.el
+2
-1
No files found.
lisp/completion.el
View file @
76e91049
...
...
@@ -2540,7 +2540,8 @@ TYPE is the type of the wrapper to be added. Can be :before or :under."
(
cmpl-statistics-block
(
record-complete-failed
))))
(
defun
completion-before-command
()
(
funcall
(
or
(
get
this-command
'completion-function
)
(
funcall
(
or
(
and
(
symbolp
this-command
)
(
get
this-command
'completion-function
))
'use-completion-under-or-before-point
)))
(
add-hook
'pre-command-hook
'completion-before-command
)
...
...
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