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
c9805d23
Commit
c9805d23
authored
Sep 21, 2010
by
Stefan Monnier
Browse files
* lisp/newcomment.el (comment-normalize-vars): Better test validity of
comment-end-skip.
parent
872b1b16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/newcomment.el
lisp/newcomment.el
+2
-1
No files found.
lisp/ChangeLog
View file @
c9805d23
2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
* newcomment.el (comment-normalize-vars): Better test validity of
comment-end-skip.
2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/float-sup.el (float-pi): New name for `pi'.
...
...
lisp/newcomment.el
View file @
c9805d23
...
...
@@ -318,7 +318,8 @@ the variables are properly set."
"+\\)[ \t]*"
)))
(
unless
(
and
comment-end-skip
;; In case comment-end has changed since last time.
(
string-match
comment-end-skip
comment-end
))
(
string-match
comment-end-skip
(
if
(
string=
""
comment-end
)
"\n"
comment-end
)))
(
let
((
ce
(
if
(
string=
""
comment-end
)
"\n"
(
comment-string-strip
comment-end
t
t
))))
(
set
(
make-local-variable
'comment-end-skip
)
...
...
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