aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1992-10-20 21:22:44 +0000
committerRichard M. Stallman1992-10-20 21:22:44 +0000
commit6e88ed495ef94b7f34b85e5239fd65f04132b219 (patch)
treeb1ba0da2d930eac0eab489c448b746ce9ddb6a8c /lisp
parentac6895157f7baa57c6550668398a781e4e196521 (diff)
downloademacs-6e88ed495ef94b7f34b85e5239fd65f04132b219.tar.gz
emacs-6e88ed495ef94b7f34b85e5239fd65f04132b219.zip
(comment-region): Do move to next line, in neg arg case.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/simple.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index b3e756c780e..3048c5139c4 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1555,7 +1555,8 @@ not end the comment. Blank lines do not get comments."
1555 (skip-chars-backward " \t") 1555 (skip-chars-backward " \t")
1556 (backward-char (length ce)) 1556 (backward-char (length ce))
1557 (if (looking-at (regexp-quote ce)) 1557 (if (looking-at (regexp-quote ce))
1558 (delete-char (length ce)))))) 1558 (delete-char (length ce)))))
1559 (forward-line 1))
1559 (if (looking-at "[ \t]*$") () 1560 (if (looking-at "[ \t]*$") ()
1560 (insert cs) 1561 (insert cs)
1561 (if (string= "" ce) () 1562 (if (string= "" ce) ()