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
2395f2b9
Commit
2395f2b9
authored
Apr 01, 2014
by
Daniel Colascione
Browse files
Prevent assertion failure when trying to complete the prompt
parent
8ec49c53
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/minibuffer.el
lisp/minibuffer.el
+4
-3
No files found.
lisp/ChangeLog
View file @
2395f2b9
2014-04-01 Daniel Colascione <dancol@dancol.org>
* minibuffer.el (minibuffer-complete): Prevent assertion failure
when trying to complete the prompt.
2014-03-31 Leo Liu <sdl.web@gmail.com>
* emacs-lisp/eldoc.el (eldoc-print-current-symbol-info): Refactor
...
...
lisp/minibuffer.el
View file @
2395f2b9
...
...
@@ -1092,9 +1092,10 @@ If no characters can be completed, display a list of possible completions.
If you repeat this command after it displayed such a list,
scroll the window of possible completions."
(
interactive
)
(
completion-in-region
(
minibuffer-prompt-end
)
(
point-max
)
minibuffer-completion-table
minibuffer-completion-predicate
))
(
when
(
<=
(
minibuffer-prompt-end
)
(
point
))
(
completion-in-region
(
minibuffer-prompt-end
)
(
point-max
)
minibuffer-completion-table
minibuffer-completion-predicate
)))
(
defun
completion--in-region-1
(
beg
end
)
;; If the previous command was not this,
...
...
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