From 6490628efd046db0751847c5286fff822723b75a Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Mon, 21 Mar 2016 09:51:23 -0300 Subject: [PATCH] Fix #43 - Actually use beacon-blink-when-buffer-changes --- beacon.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/beacon.el b/beacon.el index 422614919..e978a7c72 100644 --- a/beacon.el +++ b/beacon.el @@ -5,7 +5,7 @@ ;; Author: Artur Malabarba ;; URL: https://github.com/Malabarba/beacon ;; Keywords: convenience -;; Version: 1.0 +;; Version: 1.1 ;; Package-Requires: ((seq "1.11")) ;; This program is free software; you can redistribute it and/or modify @@ -387,6 +387,11 @@ The same is true for DELTA-X and horizonta movement." (cond ;; Sanity check. ((not (markerp beacon--previous-place))) + ;; Blink for switching buffers. + ((and beacon-blink-when-buffer-changes + (not (eq (marker-buffer beacon--previous-place) + (current-buffer)))) + (beacon-blink-automated)) ;; Blink for switching windows. ((and beacon-blink-when-window-changes (not (eq beacon--previous-window (selected-window)))) -- 2.39.2