lisp-extra-font-lock icon indicating copy to clipboard operation
lisp-extra-font-lock copied to clipboard

Unrecognized variable bindings in when-let and if-let

Open haqle314 opened this issue 6 years ago • 1 comments

when-let and if-let allow forms that omit variable name. Bindings after such a form are not recognized. For example, baz is not highlighted in the code snippet below

(when-let ((foo (get-foo))
           ((bar-p foo))
           (baz (get-baz foo)))
  (do-something))

haqle314 avatar Apr 25 '19 22:04 haqle314

Hi!

Oh, I didn't know this -- I'll try to fix it, but I can't promise when...

-- Anders

On Fri, Apr 26, 2019 at 12:49 AM haqle314 [email protected] wrote:

when-let and if-let allow forms that omit variable name. Bindings after such a form are not recognized. For example, baz is not highlighted in the code snippet below

(when-let ((foo (get-foo)) ((bar-p foo)) (baz (get-baz foo))) (do-something))

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Lindydancer/lisp-extra-font-lock/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYGGQFLMFOMI6GW4NFF3XLPSIYOHANCNFSM4HIRHE6Q .

Lindydancer avatar Apr 27 '19 18:04 Lindydancer