Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b9d0879b
Commit
b9d0879b
authored
Mar 22, 2012
by
Stefan Monnier
Browse files
* lisp/newcomment.el (comment-choose-indent): No space after BOL.
parent
e71cebb3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/newcomment.el
lisp/newcomment.el
+1
-1
No files found.
lisp/ChangeLog
View file @
b9d0879b
2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
* newcomment.el (comment-choose-indent): No space after BOL.
2012-03-22 Sam Steingold <sds@gnu.org>
* window.el (switch-to-prev-buffer): Revert last patch because the
...
...
lisp/newcomment.el
View file @
b9d0879b
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment