From: Francesco Potortì Date: Tue, 4 Mar 2003 14:43:03 +0000 (+0000) Subject: (vhdl-comment-uncomment-region): Remove two comment characters at start X-Git-Tag: ttn-vms-21-2-B4~10995 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e3c46ed6472a0a41bbe9a1cf478299dfca83bd7b;p=emacs.git (vhdl-comment-uncomment-region): Remove two comment characters at start of line instead of one. --- diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index 9827ad3696e..f11b04d8fe5 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el @@ -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)