]> git.eshelyaron.com Git - emacs.git/commit
Derive Man and WoMan modes from special-mode
authorMark Oteiza <mvoteiza@udel.edu>
Thu, 13 Oct 2016 18:29:32 +0000 (14:29 -0400)
committerMark Oteiza <mvoteiza@udel.edu>
Thu, 13 Oct 2016 18:37:10 +0000 (14:37 -0400)
commit506a97a58d0cff595f13e6238b59c9e8c70440d5
tree270d58681af0a823783ddc09d37328ffc166d595
parent8ee95221c7112a763ae6ce41c7c58b3c32ece5fc
Derive Man and WoMan modes from special-mode

* lisp/man.el (Man-mode-map): Set parent to map composed from both
button-buffer-map and special-mode-map.  Remove redundant bindings.
Fix menu to refer to the quit-window command.
(Man-mode): Derive from special-mode.  Fix docstring.  Remove redundant
buffer-read-only binding.
(Man-quit): Remove.
* lisp/woman.el (woman-really-find-file): Use setq-local.
(woman-mode-map): Refer to woman-mode in docstring.
(woman-mode): Derive from special-mode.  Document woman-mode-map in
docstring.  Use setq-local where possible; imenu-generic-expression is
already buffer-local.
(woman-negative-vertical-space): Replace unused binding with _.
lisp/man.el
lisp/woman.el