[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r107662: * lisp/newcomment.el (commen
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r107662: * lisp/newcomment.el (comment-choose-indent): No space after BOL. |
Date: |
Thu, 22 Mar 2012 22:46:31 -0400 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 107662
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Thu 2012-03-22 22:46:31 -0400
message:
* lisp/newcomment.el (comment-choose-indent): No space after BOL.
modified:
lisp/ChangeLog
lisp/newcomment.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-03-22 20:49:04 +0000
+++ b/lisp/ChangeLog 2012-03-23 02:46:31 +0000
@@ -1,3 +1,7 @@
+2012-03-23 Stefan Monnier <address@hidden>
+
+ * newcomment.el (comment-choose-indent): No space after BOL.
+
2012-03-22 Sam Steingold <address@hidden>
* window.el (switch-to-prev-buffer): Revert last patch because the
=== modified file 'lisp/newcomment.el'
--- a/lisp/newcomment.el 2012-02-25 03:08:39 +0000
+++ b/lisp/newcomment.el 2012-03-23 02:46:31 +0000
@@ -587,7 +587,7 @@
(save-excursion (end-of-line) (current-column)))))
(other nil)
(min (save-excursion (skip-chars-backward " \t")
- (1+ (current-column)))))
+ (if (bolp) 0 (1+ (current-column))))))
;; Fix up the range.
(if (< max min) (setq max min))
;; Don't move past the fill column.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r107662: * lisp/newcomment.el (comment-choose-indent): No space after BOL.,
Stefan Monnier <=