]> git.eshelyaron.com Git - emacs.git/commitdiff
(vhdl-comment-uncomment-region): Remove two comment characters at start
authorFrancesco Potortì <pot@gnu.org>
Tue, 4 Mar 2003 14:43:03 +0000 (14:43 +0000)
committerFrancesco Potortì <pot@gnu.org>
Tue, 4 Mar 2003 14:43:03 +0000 (14:43 +0000)
of line instead of one.

lisp/progmodes/vhdl-mode.el

index 9827ad3696e76156eff6de90353f51110feb9401..f11b04d8fe50ee6e6dd5300b88501261f07fa941 100644 (file)
@@ -7568,7 +7568,7 @@ If starting after end-comment-column, start a new line."
     (beginning-of-line)
     (setq beg (point))
     (if (looking-at comment-start)
-       (comment-region beg end -1)
+       (comment-region beg end -2)
       (comment-region beg end))))
 
 (defun vhdl-comment-uncomment-line (&optional arg)