]> git.eshelyaron.com Git - emacs.git/commitdiff
flymake: fix typo in variable binding (bug#38752)
authorMattias Engdegård <mattiase@acm.org>
Fri, 10 Jan 2020 17:12:32 +0000 (18:12 +0100)
committerMattias Engdegård <mattiase@acm.org>
Fri, 10 Jan 2020 17:15:03 +0000 (18:15 +0100)
This mistake was found by an experimental elisp optimiser.

* lisp/progmodes/flymake-proc.el (flymake-proc-stop-all-syntax-checks):
Add missing brackets.

lisp/progmodes/flymake-proc.el

index e2d9408e20ae4e2c68a3b656db2b79d3a0aabbe0..62f6d1aaea24a007d570e5e6187a66893bb91a26 100644 (file)
@@ -851,7 +851,7 @@ can also be executed interactively independently of
   (interactive (list "Interrupted by user"))
   (dolist (buf (buffer-list))
     (with-current-buffer buf
-      (let (p flymake-proc--current-process)
+      (let ((p flymake-proc--current-process))
         (when (process-live-p p)
           (kill-process p)
           (process-put p 'flymake-proc--interrupted reason)