diff options
Diffstat (limited to 'lisp/emulation/viper.el')
-rw-r--r-- | lisp/emulation/viper.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el index 59ca6298eb9..851092819c8 100644 --- a/lisp/emulation/viper.el +++ b/lisp/emulation/viper.el @@ -617,7 +617,7 @@ This startup message appears whenever you load Viper, unless you type `y' now." ;; This hook designed to enable Vi-style editing in comint-based modes." (defun viper-comint-mode-hook () - (set (make-local-variable 'require-final-newline) nil) + (setq-local require-final-newline nil) (setq viper-ex-style-editing nil viper-ex-style-motion nil) (viper-change-state-to-insert)) |