]> git.eshelyaron.com Git - emacs.git/commit
Move easy-mmode-define-navigation logic to helper functions
authorSpencer Baugh <sbaugh@janestreet.com>
Tue, 10 Sep 2024 17:46:18 +0000 (13:46 -0400)
committerEshel Yaron <me@eshelyaron.com>
Fri, 27 Sep 2024 10:23:55 +0000 (12:23 +0200)
commit35cb386fcb62ebeacef540dbd64551fe6bdde491
treeac43fd12b8c0b2d4c08b36994771ab38d2ca33a5
parente3a3ef3659f99823b2d4c6994a2940cca88c3a8d
Move easy-mmode-define-navigation logic to helper functions

The functions defined by easy-mmode-define-navigation are useful
even if the easy-mmode-define-navigation macro is not used.
Let's take a step towards exposing them by moving them out as
helpers.

This also makes the macro much easier to modify and work on.

* lisp/emacs-lisp/easy-mmode.el (easy-mmode--prev)
(easy-mmode--next): Add (bug#73172).
(easy-mmode-define-navigation): Use easy-mmode--prev and
easy-mmode--next.

(cherry picked from commit da1416fc6998718d1e36e32961b4415045949632)
lisp/emacs-lisp/easy-mmode.el