Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
45486731
Commit
45486731
authored
Mar 31, 1995
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(choose-completion-string): Use active-minibuffer-window.
parent
cb79b372
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lisp/simple.el
lisp/simple.el
+3
-2
No files found.
lisp/simple.el
View file @
45486731
...
...
@@ -2729,8 +2729,9 @@ WIth prefix argument N, move N items (negative N means move backward)."
;; If BUFFER is a minibuffer, barf unless it's the currently
;; active minibuffer.
(
if
(
and
(
string-match
"\\` \\*Minibuf-[0-9]+\\*\\'"
(
buffer-name
buffer
))
(
or
(
not
(
minibuffer-window-active-p
(
minibuffer-window
)))
(
not
(
equal
buffer
(
window-buffer
(
minibuffer-window
))))))
(
or
(
not
(
active-minibuffer-window
))
(
not
(
equal
buffer
(
window-buffer
(
active-minibuffer-window
))))))
(
error
"Minibuffer is not active for completion"
)
;; Insert the completion into the buffer where completion was requested.
(
set-buffer
buffer
)
...
...
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