diff options
| author | Stefan Monnier | 2012-03-22 22:46:31 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-03-22 22:46:31 -0400 |
| commit | b9d0879b49887a1db7630be9cab7fb60cf09cfd3 (patch) | |
| tree | 1e5d366b38d34536f4d9c2bc49d579f7b46a0faf | |
| parent | e71cebb3c3a3b2f7eb5a28178d9c4763a1a3edb0 (diff) | |
| download | emacs-b9d0879b49887a1db7630be9cab7fb60cf09cfd3.tar.gz emacs-b9d0879b49887a1db7630be9cab7fb60cf09cfd3.zip | |
* lisp/newcomment.el (comment-choose-indent): No space after BOL.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/newcomment.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 652c9ad7e44..59abf190e14 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * newcomment.el (comment-choose-indent): No space after BOL. | ||
| 4 | |||
| 1 | 2012-03-22 Sam Steingold <sds@gnu.org> | 5 | 2012-03-22 Sam Steingold <sds@gnu.org> |
| 2 | 6 | ||
| 3 | * window.el (switch-to-prev-buffer): Revert last patch because the | 7 | * window.el (switch-to-prev-buffer): Revert last patch because the |
diff --git a/lisp/newcomment.el b/lisp/newcomment.el index ddb6c71d1a6..40bb36daf45 100644 --- a/lisp/newcomment.el +++ b/lisp/newcomment.el | |||
| @@ -587,7 +587,7 @@ Point is expected to be at the start of the comment." | |||
| 587 | (save-excursion (end-of-line) (current-column))))) | 587 | (save-excursion (end-of-line) (current-column))))) |
| 588 | (other nil) | 588 | (other nil) |
| 589 | (min (save-excursion (skip-chars-backward " \t") | 589 | (min (save-excursion (skip-chars-backward " \t") |
| 590 | (1+ (current-column))))) | 590 | (if (bolp) 0 (1+ (current-column)))))) |
| 591 | ;; Fix up the range. | 591 | ;; Fix up the range. |
| 592 | (if (< max min) (setq max min)) | 592 | (if (< max min) (setq max min)) |
| 593 | ;; Don't move past the fill column. | 593 | ;; Don't move past the fill column. |