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
a19f0977
Commit
a19f0977
authored
Sep 29, 2014
by
Stefan Monnier
Browse files
* lisp/minibuffer.el (completion-at-point): Emit warning for ill-behaved
completion functions.
parent
73486689
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/minibuffer.el
lisp/minibuffer.el
+5
-1
No files found.
lisp/ChangeLog
View file @
a19f0977
2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
* minibuffer.el (completion-at-point): Emit warning for ill-behaved
completion functions.
2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
* ses.el (ses--letref): Quote value before it gets re-evaluated.
...
...
lisp/minibuffer.el
View file @
a19f0977
...
...
@@ -2106,7 +2106,11 @@ The completion method is determined by `completion-at-point-functions'."
(
completion-in-region
start
end
collection
(
plist-get
plist
:predicate
))))
;; Maybe completion already happened and the function returned t.
(
_
(
cdr
res
)))))
(
_
(
when
(
cdr
res
)
(
message
"Warning: %S failed to return valid completion data!"
(
car
res
)))
(
cdr
res
)))))
(
defun
completion-help-at-point
()
"Display the completions on the text around point.
...
...
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