summaryrefslogtreecommitdiff
path: root/lisp/emulation/viper.el
diff options
context:
space:
mode:
authorMark Oteiza <mvoteiza@udel.edu>2016-11-04 12:45:51 -0400
committerMark Oteiza <mvoteiza@udel.edu>2016-11-04 12:51:04 -0400
commit2c6920a3650b07f597ceb22c883710f464a41d94 (patch)
treedc8c20d8e4d6a717ac318b8e04fff01fcc39a47a /lisp/emulation/viper.el
parentabe594c0990a4e6bc72b20b7ff06b4b0c01a682c (diff)
downloademacs-2c6920a3650b07f597ceb22c883710f464a41d94.tar.gz
emacs-2c6920a3650b07f597ceb22c883710f464a41d94.tar.bz2
emacs-2c6920a3650b07f597ceb22c883710f464a41d94.zip
Fix references to long obsoleted functions/aliases
* doc/lispintro/emacs-list-intro.texi (Miscellaneous): * doc/misc/cl.texi (Conditionals): * doc/misc/speedbar.texi (Major Display Modes): Use string-to-number, not string-to-int. * lisp/emulation/viper.el (viper-go-away): Use major-mode, not default-major-mode. * lisp/textmodes/reftex-toc.el (reftex-toc-visit-location): show-window here is not a function call, but shorten the binding names anyways. Also, use pop-to-buffer-same-window instead of switch-to-buffer cf Bug#22244. * lisp/textmodes/sgml-mode.el (html-tag-alist): Use read-string, not read-input.
Diffstat (limited to 'lisp/emulation/viper.el')
-rw-r--r--lisp/emulation/viper.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el
index 1ee1464ac73..04a7c22e787 100644
--- a/lisp/emulation/viper.el
+++ b/lisp/emulation/viper.el
@@ -683,7 +683,7 @@ It also can't undo some Viper settings."
(delq 'viper-mode-string global-mode-string))
(setq-default major-mode
- (viper-standard-value 'default-major-mode
+ (viper-standard-value 'major-mode
viper-saved-non-viper-variables))
(if (featurep 'emacs)