emacs-devel
[Top][All Lists]
Advanced

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

Re: Search minibuffer history


From: Stefan Monnier
Subject: Re: Search minibuffer history
Date: Mon, 16 Jul 2007 11:05:43 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

> ! (defun next-history-element (n &optional narg)
>     "Puts next element of the minibuffer history in the minibuffer.
> ! With argument N, it uses the Nth following element.
> ! The optional argument NARG overrides the argument N and specifies the
> ! absolute history position instead of relative position specified by N."

Am I the only to find the above interface to be .... ugly?
I'd rather have a function `next-history-element-internal' which takes the
NARG and then a command `next-history-element' which takes the N arg and
calls next-history-element-internal.


        Stefan




reply via email to

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