From 2abd03067395fc6360e70cbd8e60c7b165b6a199 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 6 May 2003 14:06:34 +0000 Subject: [PATCH] (comment-set-column, comment-kill, comment-or-uncomment-region): Call comment-normalize-vars since these functions are autoloaded. --- lisp/newcomment.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/newcomment.el b/lisp/newcomment.el index aa53f50606a..6874da7b4e5 100644 --- a/lisp/newcomment.el +++ b/lisp/newcomment.el @@ -517,6 +517,7 @@ With any other arg, set comment column to indentation of the previous comment (cond ((eq arg '-) (comment-kill nil)) (arg + (comment-normalize-vars) (save-excursion (beginning-of-line) (comment-search-backward) @@ -533,6 +534,7 @@ With any other arg, set comment column to indentation of the previous comment "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 @@ end- comment markers additionally to what `comment-add' already specifies." 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)) -- 2.39.2