emacs-devel
[Top][All Lists]
Advanced

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

next-matching-history-element default [patch]


From: Kevin Ryde
Subject: next-matching-history-element default [patch]
Date: Sun, 26 Dec 2004 08:08:30 +1100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

In next-matching-history-element, pressing Ret to use the default
before any regexp has ever been given produces an unhelpful error
message.  Eg. with -q -no-site-file,

        C-x C-f M-s Ret
        => Wrong type argument: consp, nil

I see previous-matching-history-element recently got that tweaked
(1995-05-26).  Perhaps next should be the same.


2004-12-26  Kevin Ryde  <address@hidden>

        * simple.el (next-matching-history-element): Same `interactive' form
        as previous-matching-history-element, for better error if history is
        empty, and to make default available with M-n.

Attachment: simple.el.next-regexp.diff
Description: Text document


reply via email to

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