Small viper clean-up
commit9c6906f6759ac02c0646e46c6f05b2f883332fdc
authorGlenn Morris <rgm@gnu.org>
Wed, 22 May 2013 03:21:30 +0000 (21 20:21 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 22 May 2013 03:21:30 +0000 (21 20:21 -0700)
tree90dd9922b65662818803d5876984dcf8695b6f32
parent5f70c1698a43722accd94179bf61e197fe057a55
Small viper clean-up

* lisp/emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
(viper-set-parsing-style-toggling-macro)
(viper-set-emacs-state-searchstyle-macros):
Use called-interactively-p on Emacs.
(viper-looking-back): Make it an obsolete alias.  Update callers.
* lisp/emulation/viper-ex.el: Load viper-keym, not viper-cmd.
Use looking-back rather than viper-looking-back.
(viper-tmp-insert-at-eob, viper-enlarge-region)
(viper-read-string-with-history, viper-register-to-point)
(viper-append-to-register, viper-change-state-to-vi)
(viper-backward-char-carefully, viper-forward-char-carefully)
(viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
(viper-change-state-to-emacs): Declare.
* lisp/emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
(viper-change-state-to-insert, viper-change-state-to-vi): Declare.
* lisp/emulation/viper-mous.el: Do not load viper-cmd.
(viper-backward-char-carefully, viper-forward-char-carefully)
(viper-forward-word, viper-adjust-window): Declare.
lisp/ChangeLog
lisp/emulation/viper-cmd.el
lisp/emulation/viper-ex.el
lisp/emulation/viper-macs.el
lisp/emulation/viper-mous.el