[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 9319a95 2/2: Merge commit '9173a44b904d52c4c2634b68d74967d
From: |
Artur Malabarba |
Subject: |
[elpa] master 9319a95 2/2: Merge commit '9173a44b904d52c4c2634b68d74967d6261f4ddc' |
Date: |
Sat, 17 Oct 2015 21:32:54 +0000 |
branch: master
commit 9319a954d1298358bf5a1ea6d53da1905916a1e6
Merge: 57e2f37 9173a44
Author: Artur Malabarba <address@hidden>
Commit: Artur Malabarba <address@hidden>
Merge commit '9173a44b904d52c4c2634b68d74967d6261f4ddc'
---
packages/beacon/beacon.el | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/packages/beacon/beacon.el b/packages/beacon/beacon.el
index feda34b..afbe144 100644
--- a/packages/beacon/beacon.el
+++ b/packages/beacon/beacon.el
@@ -5,7 +5,7 @@
;; Author: Artur Malabarba <address@hidden>
;; URL: https://github.com/Malabarba/beacon
;; Keywords: convenience
-;; Version: 0.1
+;; Version: 0.1.1
;; Package-Requires: ((seq "1.9"))
;; This program is free software; you can redistribute it and/or modify
@@ -100,10 +100,15 @@ e.g. \"#666600\"."
"A list of predicates that prevent the beacon blink.
These predicate functions are called in order, with no
arguments, before blinking the beacon. If any returns
-non-nil, the beacon will not blink."
+non-nil, the beacon will not blink.
+
+For instance, if you want to disable beacon on buffers where
+`hl-line-mode' is on, you can do:
+
+ (add-hook 'beacon-dont-blink-predicates
+ (lambda () (bound-and-true-p hl-line-mode)))"
:type 'hook)
-(add-hook 'beacon-dont-blink-predicates (lambda () (bound-and-true-p
hl-line-mode)))
(add-hook 'beacon-dont-blink-predicates #'window-minibuffer-p)
(defcustom beacon-dont-blink-major-modes '(magit-status-mode)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] master 9319a95 2/2: Merge commit '9173a44b904d52c4c2634b68d74967d6261f4ddc',
Artur Malabarba <=