mirrored from git://git.sv.gnu.org/emacs.git
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 _.
- Loading branch information
Showing
2 changed files
with
16 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters