[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/auto-dim-other-buffers 244c979b67 25/82: after-change-majo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/auto-dim-other-buffers 244c979b67 25/82: after-change-major-mode-hook on next-error-hook |
Date: |
Mon, 12 Dec 2022 20:58:39 -0500 (EST) |
branch: elpa/auto-dim-other-buffers
commit 244c979b6763b26d8cb758599df9a8406f3be780
Author: justin talbott <justin@waymondo.com>
Commit: justin talbott <justin@waymondo.com>
after-change-major-mode-hook on next-error-hook
This properly sets the window dimming when using modes that implement
`next-error` by undimming the buffer of the error you are jumping to.
---
auto-dim-other-buffers.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/auto-dim-other-buffers.el b/auto-dim-other-buffers.el
index bf8a172784..95f487dc21 100644
--- a/auto-dim-other-buffers.el
+++ b/auto-dim-other-buffers.el
@@ -57,6 +57,7 @@
(remove-hook 'pre-command-hook 'adob/pre-command-hook)
(remove-hook 'post-command-hook 'adob/post-command-hook)
(remove-hook 'after-change-major-mode-hook
'adob/after-change-major-mode-hook)
+ (remove-hook 'next-error-hook 'adob/after-change-major-mode-hook)
(adob/undim-all-windows))
(defun turn-on-auto-dim-other-buffers ()
@@ -64,7 +65,8 @@
(adob/dim-all-windows)
(add-hook 'pre-command-hook 'adob/pre-command-hook)
(add-hook 'post-command-hook 'adob/post-command-hook)
- (add-hook 'after-change-major-mode-hook 'adob/after-change-major-mode-hook))
+ (add-hook 'after-change-major-mode-hook 'adob/after-change-major-mode-hook)
+ (add-hook 'next-error-hook 'adob/after-change-major-mode-hook))
;;;###autoload
(define-minor-mode auto-dim-other-buffers-mode
- [nongnu] elpa/auto-dim-other-buffers 0bf0800bb8 07/82: dont try to set face on dead buffers, (continued)
- [nongnu] elpa/auto-dim-other-buffers 0bf0800bb8 07/82: dont try to set face on dead buffers, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers d4f5508b4e 30/82: Bumped version to 1.5 and updated docstrings and comments., ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 475321c845 35/82: Refactor `adob--dim-buffer' to check `dim' only once, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers b797afadb4 44/82: s/it’s/its/, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 31c13e7ed8 45/82: Use ‘window-buffer’ instead of ‘current-buffer’, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 90f6a6f0fb 49/82: Bump Version in comment, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 53652211c1 53/82: Add MELPA badge to README, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers bc36211be2 63/82: Dim buffers appearing in non-selected windows, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 69d369e884 75/82: Fix minor typos and small refactor making use of ‘dolist`, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers e20bc722d6 02/82: that didnt help..., ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 244c979b67 25/82: after-change-major-mode-hook on next-error-hook,
ELPA Syncer <=
- [nongnu] elpa/auto-dim-other-buffers 37085cf479 28/82: Consistently use “buffers” in function names, not “windows”., ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 2424476114 18/82: fix some stuff, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers db5411dd17 23/82: Fix compiler warning by defining the variable, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 02ae62c5ab 37/82: Remove pre command hook, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 8b909cb210 41/82: fix change major mode on next-error-hook, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers d1ee176652 54/82: Update screenshot; make it animated, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers ec74b4803a 56/82: Split ‘adob--dim-buffer’ into two no-argument functions, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 0c15c0d3a4 52/82: s/adob--ignore-buffer/adob--never-dim-p/, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 82626612bd 71/82: Handle window and buffer switching at the same time, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 2a19931b27 80/82: Introduce ‘auto-dim-other-buffers-hide-face’ for hidden dimmed text, ELPA Syncer, 2022/12/12