[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] trunk r118326: * lisp/minibuffer.el (minibuffer-comple

From: Stefan Monnier
Subject: Re: [Emacs-diffs] trunk r118326: * lisp/minibuffer.el (minibuffer-completion-help): Compare this-command with completion-at-point.
Date: Thu, 04 Dec 2014 21:52:58 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> -             ,(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)

Any reason we can't just check (eq (selected-window) (minibuffer-window))?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]