X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/16be7a12d0dbbbd0e59fc2ccf9a7c7085eb9cf5a..e3df6b5cf259a38bb2c0188cc70c7ca0f8e957eb:/beacon.el diff --git a/beacon.el b/beacon.el index 8126c4344..6b71ee0b2 100644 --- a/beacon.el +++ b/beacon.el @@ -242,10 +242,12 @@ COLORS applied to each one." (defun beacon--vanish (&rest _) "Turn off the beacon." - (when (timerp beacon--timer) - (cancel-timer beacon--timer)) - (mapc #'delete-overlay beacon--ovs) - (setq beacon--ovs nil)) + (unless (string-match "\\` \\*\\(temp-buffer\\|Echo Area.*\\)\\*" + (buffer-name)) + (when (timerp beacon--timer) + (cancel-timer beacon--timer)) + (mapc #'delete-overlay beacon--ovs) + (setq beacon--ovs nil))) ;;; Colors