]> git.eshelyaron.com Git - emacs.git/commit
Make toggling between image, hex and text more consistent
authorStefan Kangas <stefankangas@gmail.com>
Thu, 18 Aug 2022 16:46:10 +0000 (18:46 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Thu, 18 Aug 2022 17:48:35 +0000 (19:48 +0200)
commit104cb5cbf5da4c07d5e4b3d26431eaa42e8ce33d
tree0e33eb72f2d50799c85266e892f36d36e1a1ad6c
parent054d1e80dc7cf3ba612ff704f312d0b8953416cf
Make toggling between image, hex and text more consistent

* lisp/image-mode.el (image-toggle-hex-display, image-toggle-display):
Ensure commands work correctly also in `hexl-mode'.
(image-mode-to-text):
(image-mode-as-hex, image-mode-as-text): Enable image-minor-mode also
in hexl-mode, which adds the "C-c C-x" keybinding for easier toggling.
lisp/image-mode.el