changeset 50843:bc3a5a6b96ab

(comment-set-column, comment-kill, comment-or-uncomment-region): Call comment-normalize-vars since these functions are autoloaded.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 06 May 2003 14:06:34 +0000
parents b64d29a02737
children 86903fed9f75
files lisp/newcomment.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/newcomment.el	Tue May 06 13:58:30 2003 +0000
+++ b/lisp/newcomment.el	Tue May 06 14:06:34 2003 +0000
@@ -517,6 +517,7 @@
   (cond
    ((eq arg '-) (comment-kill nil))
    (arg
+    (comment-normalize-vars)
     (save-excursion
       (beginning-of-line)
       (comment-search-backward)
@@ -533,6 +534,7 @@
   "Kill the comment on this line, if any.
 With prefix ARG, kill comments on that many lines starting with this one."
   (interactive "P")
+  (comment-normalize-vars)
   (dotimes (_ (prefix-numeric-value arg))
     (save-excursion
       (beginning-of-line)
@@ -941,6 +943,7 @@
 in which case call `uncomment-region'.  If a prefix arg is given, it
 is passed on to the respective function."
   (interactive "*r\nP")
+  (comment-normalize-vars)
   (funcall (if (save-excursion ;; check for already commented region
 		 (goto-char beg)
 		 (comment-forward (point-max))