]> git.eshelyaron.com Git - emacs.git/commit
change viper to use derived-mode-p
authorTom Tromey <tom@tromey.com>
Sun, 19 Mar 2017 16:52:28 +0000 (10:52 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 5 Apr 2017 21:53:38 +0000 (15:53 -0600)
commit14659f69b0330187c7390418a0c7366083de9fd7
tree1a2851c3a27d700dfb846ba6594b4c8d9caaf789
parent95aba610f1c1a40b0218b64b4d20ade7a6299208
change viper to use derived-mode-p

* lisp/subr.el (provided-mode-derived-p): New function.
(derived-mode-p): Use it.
* lisp/emulation/viper.el (viper-mode): Use derived-mode-p.
(this-major-mode-requires-vi-state): Use provided-mode-derived-p.
(set-viper-state-in-major-mode): Use derived-mode-p.
lisp/emulation/viper.el
lisp/subr.el