Commit 0ced1de3 authored by Juri Linkov's avatar Juri Linkov

* lisp/minibuffer.el (minibuffer-completion-help): Compare this-command with completion-at-point.

Fixes: debbugs:17809
parent 4f9bd422
2014-11-08 Juri Linkov <juri@jurta.org>
* minibuffer.el (minibuffer-completion-help): Compare this-command
with completion-at-point. (Bug#17809)
2014-11-08 Glenn Morris <rgm@gnu.org>
* emacs-lisp/bytecomp.el (byte-compile-report-error):
......
......@@ -1811,7 +1811,10 @@ variables.")
;; Use `display-buffer-below-selected' for inline completions,
;; but not in the minibuffer (e.g. in `eval-expression')
;; for which `display-buffer-at-bottom' is used.
,(if (and completion-in-region-mode-predicate
;; Compare `this-command' with `completion-at-point'
;; since `completion--in-region-1' sets `this-command'
;; to this value for region completion commands.
,(if (and (eq this-command 'completion-at-point)
(not (minibuffer-selected-window)))
'display-buffer-below-selected
'display-buffer-at-bottom))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment