]> code.delx.au - gnu-emacs/commit
* prolog.el: Fix indentation of empty line
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 22 Sep 2015 15:11:50 +0000 (11:11 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 22 Sep 2015 15:11:50 +0000 (11:11 -0400)
commit6c33e7ada5c0aa0dac1e6298c5b45c0134a90b92
treefcfc8703ab42a2dad49d95741310849414615cbd
parent2fa2c87cac834cae253a7fc6fcab280723660f74
* prolog.el: Fix indentation of empty line

* lisp/emacs-lisp/smie.el (smie-rules-function): Document new
`empty-line-token' element.
(smie-indent-empty-line): New function.
(smie-indent-functions): Add it.

* lisp/progmodes/prolog.el (prolog-smie-rules): Fix :list-intro behavior
and use the new `empty-line-token' element (bug#21526).
(prolog-mode-variables): Fix comment-start-skip setting to match
comment-start.

* test/indent/prolog.prolog: Add nested indentation tests.

* lisp/newcomment.el (comment-normalize-vars): Fix default value of
comment-start-skip not to misuse submatch 1.
lisp/emacs-lisp/smie.el
lisp/newcomment.el
lisp/progmodes/prolog.el
test/indent/prolog.prolog