Commit 8c39e595 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(comment-indent-default): Don't get fooled by an early end of buffer.

parent b26860ad
2005-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
* newcomment.el (comment-indent-default): Don't get fooled by an early
end of buffer.
2005-06-28 Vinicius Jose Latorre <viniciusjl@ig.com.br>
 
* ps-print.el (ps-print-version): Fixed version number.
* ps-print.el (ps-print-version): Fix version number.
 
2005-06-28 Luc Teirlinck <teirllm@auburn.edu>
 
......@@ -51,8 +56,8 @@
background color faces.
(facemenu-get-face): Delete function.
(facemenu-set-face-from-menu): Don't call facemenu-get-face.
(facemenu-add-new-color): Make second argument mandatory. Create
the approprate face and return it. Simplify.
(facemenu-add-new-color): Make second argument mandatory.
Create the approprate face and return it. Simplify.
(facemenu-set-foreground, facemenu-set-background): Don't check if
color is defined. Use return value of facemenu-add-new-color.
 
......
......@@ -502,7 +502,7 @@ Point is assumed to be just at the end of a comment."
(or (match-end 1) (/= (current-column) (current-indentation))))
0
(when (or (/= (current-column) (current-indentation))
(and (> comment-add 0) (looking-at "\\s<\\S<")))
(and (> comment-add 0) (looking-at "\\s<\\(\\S<\\|\\'\\)")))
comment-column)))
;;;###autoload
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment