]> git.eshelyaron.com Git - emacs.git/commit
Allow comment-indent-functions to specify exact indentation (Bug#385)
authorNoam Postavsky <npostavs@gmail.com>
Wed, 14 Jun 2017 04:08:15 +0000 (00:08 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Thu, 6 Jul 2017 02:52:35 +0000 (22:52 -0400)
commite832febfb4089418e0152c805e24dee977a7590d
treee57e94068965c89352d735e48d827b6cba83db41
parent018600f896fbed768e583f6b8ee7fbae713367d1
Allow comment-indent-functions to specify exact indentation (Bug#385)

* lisp/newcomment.el (comment-choose-indent): Interpret a cons of two
integers as indicating a range of acceptable indentation.
(comment-indent): Don't apply `comment-inline-offset',
`comment-choose-indent' already does that.
(comment-indent-function):
* doc/emacs/programs.texi (Options for Comments): Document new
acceptable return values.
* etc/NEWS: Announce it.
doc/emacs/programs.texi
etc/NEWS
lisp/newcomment.el