aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/flymake.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 50a9880a14e..14940844a42 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -1332,9 +1332,9 @@ POS can be a buffer position or a button"
1332 (target (or (get-buffer name) 1332 (target (or (get-buffer name)
1333 (with-current-buffer (get-buffer-create name) 1333 (with-current-buffer (get-buffer-create name)
1334 (flymake-diagnostics-buffer-mode) 1334 (flymake-diagnostics-buffer-mode)
1335 (setq flymake--diagnostics-buffer-source source)
1336 (current-buffer))))) 1335 (current-buffer)))))
1337 (with-current-buffer target 1336 (with-current-buffer target
1337 (setq flymake--diagnostics-buffer-source source)
1338 (revert-buffer) 1338 (revert-buffer)
1339 (display-buffer (current-buffer))))) 1339 (display-buffer (current-buffer)))))
1340 1340