]> 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>
Fri, 24 Mar 2017 03:06:50 +0000 (21:06 -0600)
commit60be4b78aedea0286465bf7604f15538490f45a2
tree6b990f4f7dbfdf60ebbf0905c339594fb7a68d23
parentfe8352504d85f3b5482004b23edc1d125b38d201
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