]> git.eshelyaron.com Git - emacs.git/commit
Fix eldoc highlighting for &key args (Bug#27272)
authorThierry Volpiatto <thierry.volpiatto@gmail.com>
Thu, 15 Jun 2017 03:26:05 +0000 (05:26 +0200)
committerNoam Postavsky <npostavs@gmail.com>
Wed, 16 Aug 2017 01:22:41 +0000 (21:22 -0400)
commit55c9238189795448075e2d4af93a7b29a505f23c
treedcd4ce39eb28f9a1ee8b46ddc300c746e33ff9be
parente97aebd8fed255507fd17ef37a06b042ebed7e77
Fix eldoc highlighting for &key args (Bug#27272)

* lisp/progmodes/elisp-mode.el (elisp--highlight-function-argument):
Only switch to keyword-based searching if INDEX point beyond `&key' in
the argument list.  All arguments prior to the `&key' are position
based.  Additionally, be more strict about what is a keyword when
searching for the current keyword.
lisp/progmodes/elisp-mode.el