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, 13 Nov 2001 15:16:06 -0500

Index: emacs/lisp/newcomment.el
diff -u emacs/lisp/newcomment.el:1.36 emacs/lisp/newcomment.el:1.37
--- emacs/lisp/newcomment.el:1.36       Wed Oct 10 21:44:48 2001
+++ emacs/lisp/newcomment.el    Fri Oct 12 18:37:51 2001
@@ -5,7 +5,7 @@
 ;; Author: code extracted from Emacs-20's simple.el
 ;; Maintainer: Stefan Monnier <address@hidden>
 ;; Keywords: comment uncomment
-;; Revision: $Id: newcomment.el,v 1.36 2001/10/11 01:44:48 monnier Exp $
+;; Revision: $Id: newcomment.el,v 1.37 2001/10/12 22:37:51 monnier Exp $
 
 ;; This file is part of GNU Emacs.
 
@@ -765,14 +765,7 @@
       (unless (or ce (eolp)) (insert "\n") (indent-according-to-mode))
       (comment-with-narrowing beg end
        (let ((min-indent (point-max))
-             (max-indent 0)
-             ;; We rebind the invisibility spec because move-to-column
-             ;; skips invisible text.  Only reveal ellipses.
-             (buffer-invisibility-spec
-              (if (listp buffer-invisibility-spec)
-                  (mapcar (lambda (x) (if (cdr-safe x) t x))
-                          buffer-invisibility-spec)
-                buffer-invisibility-spec)))
+             (max-indent 0))
          (goto-char (point-min))
          ;; Quote any nested comment marker
          (comment-quote-nested comment-start comment-end nil)



reply via email to

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