* lisp/hexl.el (hexl-mode-old-*): Remove.
commit4391b429f897002ef363daab52c08fd3e11e736e
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 14 Jan 2011 19:55:35 +0000 (14 14:55 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 14 Jan 2011 19:55:35 +0000 (14 14:55 -0500)
tree71b113182bd43cc0dd78592ec3c607ed4d92921b
parent46d71064338f940f2ffbd7f49a1709ac39bf44a4
* lisp/hexl.el (hexl-mode-old-*): Remove.
(hexl-mode--old-var-vals): New var to replace them.
(hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
(hexl-mode, hexl-follow-line, hexl-activate-ruler):
Use them to set local vars.
(hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
(hexl-backward-short, hexl-backward-word, hexl-scroll-down)
(hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.

Fixes: debbugs:7846
lisp/ChangeLog
lisp/hexl.el