diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-03-22 22:46:31 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-03-22 22:46:31 -0400 |
commit | b9d0879b49887a1db7630be9cab7fb60cf09cfd3 (patch) | |
tree | 1e5d366b38d34536f4d9c2bc49d579f7b46a0faf /lisp/newcomment.el | |
parent | e71cebb3c3a3b2f7eb5a28178d9c4763a1a3edb0 (diff) | |
download | emacs-b9d0879b49887a1db7630be9cab7fb60cf09cfd3.tar.gz |
* lisp/newcomment.el (comment-choose-indent): No space after BOL.
Diffstat (limited to 'lisp/newcomment.el')
-rw-r--r-- | lisp/newcomment.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." (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. |