[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/highlight-parentheses a821a31 27/49: Don't enable highligh
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/highlight-parentheses a821a31 27/49: Don't enable highlight-parentheses-mode in *Messages* |
Date: |
Sun, 15 Aug 2021 03:57:47 -0400 (EDT) |
branch: elpa/highlight-parentheses
commit a821a314942f409cd69660d816cd9a0aebd1ae8f
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>
Don't enable highlight-parentheses-mode in *Messages*
---
highlight-parentheses.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/highlight-parentheses.el b/highlight-parentheses.el
index 794af23..1f40161 100644
--- a/highlight-parentheses.el
+++ b/highlight-parentheses.el
@@ -124,7 +124,11 @@ overlays when scrolling or moving point by pressing and
holding
(kill-local-variable 'hl-paren-overlays)
(kill-local-variable 'hl-paren-last-point)
(remove-hook 'post-command-hook 'hl-paren-initiate-highlight t)
- (when highlight-parentheses-mode
+ (when (and highlight-parentheses-mode
+ ;; Don't enable in *Messages* buffer.
+ ;; https://github.com/tsdh/highlight-parentheses.el/issues/14
+ (not (eq major-mode 'messages-buffer-mode))
+ (not (string= (buffer-name) "*Messages*")))
(hl-paren-create-overlays)
(add-hook 'post-command-hook 'hl-paren-initiate-highlight nil t)))
- [nongnu] elpa/highlight-parentheses b335e9e 49/49: Don't exclude README.md from ELPA package, (continued)
- [nongnu] elpa/highlight-parentheses b335e9e 49/49: Don't exclude README.md from ELPA package, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 59ff08a 23/49: Merge pull request #11 from tsdh/master, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses ba48dac 36/49: Remove deprecated cl.el, fix compiler/linter nag, version bump, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 72283a2 45/49: Add highlight-parentheses property to our overlays, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses d871467 43/49: Adapt URL to sr.ht, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 23fe07f 39/49: Add LICENSE and screenshot, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 9d8f351 44/49: Release 2.0.1, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 013ac29 38/49: Fix errors due to forgotten version in define-obsolete-function/variable-alias, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses ac0fc4e 13/49: Protect against double initialization of mode., ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 7692039 29/49: Allow to specify face attributes for each level of parens, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses a821a31 27/49: Don't enable highlight-parentheses-mode in *Messages*,
ELPA Syncer <=
- [nongnu] elpa/highlight-parentheses e18f2c2 37/49: Declare cl-lib dependency; update Compatibility, ELPA Syncer, 2021/08/15
- [nongnu] elpa/highlight-parentheses 723abf9 40/49: Add Makefile, ELPA Syncer, 2021/08/15