]> git.eshelyaron.com Git - emacs.git/commit
Tell direction in prompts for '(previous|next)-matching-history-element'
authorJim Porter <jporterbugs@gmail.com>
Sat, 11 May 2024 18:41:11 +0000 (11:41 -0700)
committerEshel Yaron <me@eshelyaron.com>
Thu, 23 May 2024 07:44:53 +0000 (09:44 +0200)
commit395574095472ab74fb2e99c898e7a155c6c86416
treebc30f67499eff8126a8ebbe5d0cc5e17a5c91f66
parent363b0260cd963c8c979b0cb17156cf997ec2a9e6
Tell direction in prompts for '(previous|next)-matching-history-element'

Previously, this always said "Previous" for
'previous-matching-history-element' (likewise "Next").  Now, the prompt
accounts for a negative prefix argument changing the search direction
(bug#70882).

* lisp/simple.el (previous-matching-history-element)
(next-matching-history-element): Consult numeric prefix argument to
determine the prompt string.

(cherry picked from commit 44d1687f1f6bc3d261aa2344a714b1f3397b3039)
lisp/simple.el