[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs 24.4 disable popup in minibuffer
From: |
John Mastro |
Subject: |
Re: emacs 24.4 disable popup in minibuffer |
Date: |
Fri, 7 Nov 2014 14:34:48 -0800 |
Sam Halliday <sam.halliday@gmail.com> wrote:
> I'd be greatly obliged if you could have a look and see if there is
> anything obvious that could be done to disable the popup in the
> minibuffer.
You could try one of the two options below (untested, sorry).
But there's a good chance Stefan will have a better idea so it may be
worth waiting :)
;; Option 1
(defun popup-disable-in-minibuffer ()
(set (make-local-variable 'popup-complete-enable) nil))
(add-hook 'minibuffer-setup-hook 'popup-disable-in-minibuffer)
;; Option 2
(defun no-popup-in-minibuffer (function &rest args)
(let ((popup-complete-enable (and (not (minibufferp))
popup-complete-enable)))
(apply function args)))
(advice-add 'popup-complete--in-region
:around #'no-popup-in-minibuffer)
--
john
- emacs 24.4 disable popup in minibuffer, Sam Halliday, 2014/11/06
- Re: emacs 24.4 disable popup in minibuffer, Stefan Monnier, 2014/11/06
- Re: emacs 24.4 disable popup in minibuffer, Sam Halliday, 2014/11/07
- Re: emacs 24.4 disable popup in minibuffer, Stefan Monnier, 2014/11/07
- Message not available
- Re: emacs 24.4 disable popup in minibuffer, Sam Halliday, 2014/11/07
- Re: emacs 24.4 disable popup in minibuffer, Sam Halliday, 2014/11/07
- Re: emacs 24.4 disable popup in minibuffer,
John Mastro <=
- Re: emacs 24.4 disable popup in minibuffer, Stefan Monnier, 2014/11/08
- Re: emacs 24.4 disable popup in minibuffer, John Mastro, 2014/11/08
- Re: emacs 24.4 disable popup in minibuffer, Stefan Monnier, 2014/11/08
- Message not available
- Re: emacs 24.4 disable popup in minibuffer, Sam Halliday, 2014/11/11