[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(no subject)
From: |
Stephan Stahl |
Subject: |
(no subject) |
Date: |
Thu, 27 May 2004 13:34:15 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.0 |
Hi.
Since i learned that M-n while doing completing-read and friends
brings up the default value and lets you edit it i used that feature
very often.
However it does not work in previous-matching-history-element (M-r
while the minibuffer is active). The following very simple patch
will do the trick.. Its much better that way.
Maybe someone wants to include that in emacs.
*** simple.el.1.644 Thu May 27 13:03:44 2004
--- simple.el.new Thu May 27 13:03:44 2004
***************
*** 933,939 ****
nil
minibuffer-local-map
nil
! 'minibuffer-history-search-history)))
;; Use the last regexp specified, by default, if input is empty.
(list (if (string= regexp "")
(if minibuffer-history-search-history
--- 933,940 ----
nil
minibuffer-local-map
nil
! 'minibuffer-history-search-history
! (car
minibuffer-history-search-history))))
;; Use the last regexp specified, by default, if input is empty.
(list (if (string= regexp "")
(if minibuffer-history-search-history
--
Stephan Stahl