chiark / gitweb /
el/dot-emacs.el: Hack on `comint-line-beginning-position'.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 5 Aug 2017 23:52:05 +0000 (00:52 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 5 Aug 2017 23:52:05 +0000 (00:52 +0100)
commit29e4917e95cfadfa2504082eb63b0ac45a2fb06e
tree04c9d7c75bd1970b93241e969b5295726cc2188c
parent4a7ce1ee8ba96179c6a9043ceaecdc59a1902559
el/dot-emacs.el: Hack on `comint-line-beginning-position'.

It's quite badly broken in the case where it's using fields to mark
prompts: it goes straight to the start of the entire input area, rather
than to the start of the current line if there's more than one.  In
particular, this confuses IELM, which uses `comint-bol' to decide
whether to indent when you press TAB.

Fix this bogosity.
el/dot-emacs.el