emacs-devel
[Top][All Lists]
Advanced

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

Re: History completion


From: Manuel Uberti
Subject: Re: History completion
Date: Thu, 9 Dec 2021 08:51:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

On 08/12/21 19:54, Juri Linkov wrote:
#+begin_src emacs-lisp
;; Adapted from ‘minibuffer-complete’:
(defun minibuffer-complete-history ()
   (interactive)
   (completion-in-region (minibuffer--completion-prompt-end) (point-max)
                         (symbol-value minibuffer-history-variable)
                         nil))
(define-key minibuffer-local-map [C-tab] 'minibuffer-complete-history)
#+end_src

FWIW, I am trying this and I find it very helpful. Thank you for sharing.

--
Manuel Uberti
www.manueluberti.eu



reply via email to

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