]> git.eshelyaron.com Git - emacs.git/commit
image-dired: Fix C-a/C-e in thumbnail buffer
authorStefan Kangas <stefankangas@gmail.com>
Sat, 24 Sep 2022 11:36:39 +0000 (13:36 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sat, 24 Sep 2022 12:07:57 +0000 (14:07 +0200)
commit0bca1b4d037ef23d259dc6e7561266bf54433339
treeae35c69263705bd367c2007a30c9fd85e564476c
parent32e736d903f65a74af2bbf0d3b7bd7ee60ee5837
image-dired: Fix C-a/C-e in thumbnail buffer

* lisp/image/image-dired.el
(image-dired--movement-ensure-point-pos): New function, and...
(image-dired--movement-command): ...new macros broken out from...
(image-dired-next-line, image-dired-previous-line)
(image-dired-beginning-of-buffer, image-dired-end-of-buffer):
...here.
(image-dired-move-beginning-of-line)
(image-dired-move-end-of-line): New commands.
(image-dired-thumbnail-mode-map): Remap 'move-beginning-of-line'
and 'move-beginning-of-line' to above new commands.
lisp/image/image-dired.el