]> git.eshelyaron.com Git - emacs.git/commit
Further tweaks for comment-start-skip behavior
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 18 Mar 2014 06:06:33 +0000 (08:06 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 18 Mar 2014 06:06:33 +0000 (08:06 +0200)
commit2b7858ecbd57f16d0a20906dd792fd96049c5952
tree8514ab26cdcaa7b1c20bef830438969bc94538ac
parent1917cf46bba74cdd0bcd1d0545cbd688db4e76f9
Further tweaks for comment-start-skip behavior

* lisp/newcomment.el (comment-normalize-vars): Only add escaping check
to `comment-start-skip' if not `comment-use-syntax'.
(comment-beginning): Use `narrow-to-region' instead of moving back
one character.
(http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
(comment-start-skip): Update the docstring.

Fixes: debbugs:16971
lisp/ChangeLog
lisp/newcomment.el