Subject: RE: bug#23007: 24.5; buggy interactive search with middle click

From: Drew Adams <[email-masked]>
Date: Mon, 29 May 2017 17:41:43 -0700 (PDT)

> > +      (let ((overriding-terminal-local-map nil))
> > +        (setq binding (key-binding (this-command-keys-vector) t)))
> 
> IMO, it would be better style to do something like
> 
> (let ((binding (let ((overriding-terminal-local-map nil))
>                  (key-binding (this-command-keys-vector) t))))
>   ...)
 
(let* ((overriding-terminal-local-map nil)
       (binding (key-binding (this-command-keys-vector) t)))
  ...)

;-)