]> code.delx.au - gnu-emacs/commit
Support switching to hexl-mode from image-mode
authorAlexander Kuleshov <kuleshovmail@gmail.com>
Sat, 27 Feb 2016 17:27:31 +0000 (19:27 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 27 Feb 2016 17:27:31 +0000 (19:27 +0200)
commitc483d0530a7bc79fab377327e3228681297b1942
tree1e2c4bd87f45b4b9bd09805fdc345cdbd71d83c7
parent2fa05dcd5e79b9dcd5cf2923c11bbcb5c92ae148
Support switching to hexl-mode from image-mode

* lisp/image-mode.el (image-toggle-hex-display)
(image-mode-to-text): New functions.
(image-mode-map, image-minor-mode-map): Bind "C-c C-x" to
image-toggle-hex-display.
(image-mode-map): New menu item "Show as Hex".
(image-mode): Update doc string and echo-area message.
(image-toggle-display): Support toggle to hex.  (Bug#22453)

* doc/emacs/files.texi (File Conveniences): Document
'image-toggle-hex-display'.
doc/emacs/files.texi
lisp/image-mode.el