emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/newcomment.el


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/newcomment.el
Date: Tue, 06 May 2003 10:06:35 -0400

Index: emacs/lisp/newcomment.el
diff -c emacs/lisp/newcomment.el:1.61 emacs/lisp/newcomment.el:1.62
*** emacs/lisp/newcomment.el:1.61       Tue May  6 06:40:06 2003
--- emacs/lisp/newcomment.el    Tue May  6 10:06:34 2003
***************
*** 517,522 ****
--- 517,523 ----
    (cond
     ((eq arg '-) (comment-kill nil))
     (arg
+     (comment-normalize-vars)
      (save-excursion
        (beginning-of-line)
        (comment-search-backward)
***************
*** 533,538 ****
--- 534,540 ----
    "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,946 ****
--- 943,949 ----
  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))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]