* lisp/progmodes/octave-mod.el (octave-smie-forward-token): Only emit
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 25 Apr 2013 03:25:34 +0000 (23:25 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 25 Apr 2013 03:25:34 +0000 (23:25 -0400)
commitced3fc5d2f65236af6595db93b064b77a5cdedfd
tree5561e1ba6f887b733499a1b4c1650158332cf1e4
parent1c141dad8705e27c311a1c86436131c47f49dcc9
* lisp/progmodes/octave-mod.el (octave-smie-forward-token): Only emit
semi-colons if the line is not otherwise empty.
* lisp/emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
(smie-indent-keyword): Improve the check to ensure that the next
comment is really on the same line.
(smie-indent-comment): Don't align with a subsequent closer (or eob).

Fixes: debbugs:14218
lisp/ChangeLog
lisp/emacs-lisp/smie.el
lisp/progmodes/octave-mod.el