summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/generate-lisp-file.el
diff options
context:
space:
mode:
authorSpencer Baugh <sbaugh@janestreet.com>2024-09-10 14:18:39 -0400
committerDmitry Gutov <dmitry@gutov.dev>2024-09-27 04:27:55 +0300
commite776903b31cf2b2d21d91cbc7d6b7dbc1e9d442f (patch)
treec0752ebde2259d01c64ad3f04c5de191335c4e50 /lisp/emacs-lisp/generate-lisp-file.el
parentda1416fc6998718d1e36e32961b4415045949632 (diff)
downloademacs-e776903b31cf2b2d21d91cbc7d6b7dbc1e9d442f.tar.gz
emacs-e776903b31cf2b2d21d91cbc7d6b7dbc1e9d442f.tar.bz2
emacs-e776903b31cf2b2d21d91cbc7d6b7dbc1e9d442f.zip
Move to start of current header in diff-{file,hunk}-prev
If point was after a file or hunk header, the diff-file-prev and diff-hunk-prev commands would move to the start of that header. But if point was *within* the header, they would not move, and would report "No previous file" or "No previous hunk". This differs from the behavior of most other movement commands, e.g. backward-sexp or backward-sentence. This commit fixes diff-file-prev and diff-hunk-prev, as well as other easy-mmode-define-navigation BASE-prev commands. Now these commands move to the start of the containing "thing" just like other movement commands. * lisp/emacs-lisp/easy-mmode.el (easy-mmode--prev): Move to start of current match first. (bug#73172) * etc/NEWS: Document the behavior change.
Diffstat (limited to 'lisp/emacs-lisp/generate-lisp-file.el')
0 files changed, 0 insertions, 0 deletions