]> git.eshelyaron.com Git - emacs.git/commit
Repair `tab-first-completion` (bug#67158)
authorAymeric Agon-Rambosson <aymeric.agon@yandex.com>
Sat, 25 Nov 2023 15:07:49 +0000 (10:07 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 25 Nov 2023 15:24:39 +0000 (10:24 -0500)
commitc20226a1ef5fbdfd3e71e2ef8654ee19994c0f2f
treebf2b8d8ccb593e4ed9f1fbbcaf020954c542948f
parentefae0e68efc79bc5eb7c86a30c127006d3b374e2
Repair `tab-first-completion` (bug#67158)

Copyright-paperwork-exempt: yes

* lisp/indent.el (indent-for-tab-command): Use `syntax-class` to fix
longstanding thinko introduced back in 2020 in commit 64c851166442.
Rework the check for `syn` because TAB always completed when
`tab-first-completion` had value `word-or-paren` or `word-or-paren-or-punct`.
lisp/indent.el