]> git.eshelyaron.com Git - emacs.git/commit
Derive secrets-mode from special-mode
authorMark Oteiza <mvoteiza@udel.edu>
Sat, 9 Jul 2016 01:10:32 +0000 (21:10 -0400)
committerMark Oteiza <mvoteiza@udel.edu>
Sat, 9 Jul 2016 01:10:32 +0000 (21:10 -0400)
commit7095596ac3ece75b7fb98be7a47e4715a54842c2
tree0874266b248fbdcfbd3674aa183fc0daf9fc1033
parentbdda4855c635ecf4135e23321bdba023e9ae65c9
Derive secrets-mode from special-mode

* lisp/net/secrets.el: Remove top-level secrets-mode hack.
(secrets-mode-map): New variable.  Add key bindings to n and p for
navigating lines.
(secrets-mode): Derive from special-mode.  Remove keymap code and
initialization code.  Do not record undo information.  Make
secrets-show-collections the local revert-buffer-function.
(secrets-show-collections): Change signature to satisfy revert-buffer.
lisp/net/secrets.el