aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1995-06-13 21:20:36 +0000
committerKarl Heuer1995-06-13 21:20:36 +0000
commit15f8998b59d87af7a9a8a31e841b67f894f3d3b0 (patch)
treea2513bafaf6906c6e3ff11027c8ac61a83ef3bb4
parentcc37a58cebc29aed3ef044d8b977f41a38d86753 (diff)
downloademacs-15f8998b59d87af7a9a8a31e841b67f894f3d3b0.tar.gz
emacs-15f8998b59d87af7a9a8a31e841b67f894f3d3b0.zip
(vip-change-state-to-vi): bug fix.
-rw-r--r--lisp/emulation/viper.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el
index f898483acd5..79b385249c5 100644
--- a/lisp/emulation/viper.el
+++ b/lisp/emulation/viper.el
@@ -3,7 +3,7 @@
3;; and a venomous VI PERil. 3;; and a venomous VI PERil.
4;; Viper Is also a Package for Emacs Rebels. 4;; Viper Is also a Package for Emacs Rebels.
5;; 5;;
6;; Version: 2.75 6;; Version: 2.76
7;; Keywords: emulations 7;; Keywords: emulations
8;; Author: Michael Kifer <kifer@cs.sunysb.edu> 8;; Author: Michael Kifer <kifer@cs.sunysb.edu>
9 9
@@ -25,7 +25,7 @@
25;; along with GNU Emacs; see the file COPYING. If not, write to 25;; along with GNU Emacs; see the file COPYING. If not, write to
26;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 26;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
27 27
28(defconst viper-version "2.75 of May 31, 1995" 28(defconst viper-version "2.76 of June 9, 1995"
29 "The current version of Viper") 29 "The current version of Viper")
30 30
31;;; Commentary: 31;;; Commentary:
@@ -1313,7 +1313,8 @@ This startup message appears whenever you load Viper, unless you type `y' now."
1313 (if (and auto-fill-function (> (current-column) fill-column)) 1313 (if (and auto-fill-function (> (current-column) fill-column))
1314 (funcall auto-fill-function)) 1314 (funcall auto-fill-function))
1315 ;; don't leave whitespace lines around 1315 ;; don't leave whitespace lines around
1316 (if (memq last-command '(vip-autoindent vip-open-line vip-Open-line)) 1316 (if (and (memq last-command '(vip-autoindent vip-open-line vip-Open-line))
1317 (vip-over-whitespace-line))
1317 (indent-to-left-margin)) 1318 (indent-to-left-margin))
1318 (vip-add-newline-at-eob-if-necessary) 1319 (vip-add-newline-at-eob-if-necessary)
1319 (if vip-undo-needs-adjustment (vip-adjust-undo)) 1320 (if vip-undo-needs-adjustment (vip-adjust-undo))