]> 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:33:05 +0000 (14:33 +0000)
committerFrancesco Potortì <pot@gnu.org>
Tue, 4 Mar 2003 14:33:05 +0000 (14:33 +0000)
of line instead of one.

lisp/progmodes/vhdl-mode.el

index f60ff83fd157775b3506ad0da772a5fa3e6ed64d..873361e73377a44ab60bd7a92e0f98f622ea961f 100644 (file)
@@ -605,7 +605,7 @@ begin  -- process <label>
     <cursor>
   elsif <clock>'event and <clock> = '1' then  -- rising clock edge
     if <enable> = '1' then  -- synchronous load
-      
+
     end if;
   end if;
 end process <label>;"
@@ -7567,7 +7567,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)