emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/bufferlo 41e6e56783 27/37: Fix clone-frame


From: ELPA Syncer
Subject: [elpa] externals/bufferlo 41e6e56783 27/37: Fix clone-frame
Date: Sun, 5 Nov 2023 09:57:33 -0500 (EST)

branch: externals/bufferlo
commit 41e6e56783e0b2422cbc5c9f7914385224da989d
Author: Florian Rommel <mail@florommel.de>
Commit: Florian Rommel <mail@florommel.de>

    Fix clone-frame
---
 bufferlo.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bufferlo.el b/bufferlo.el
index f808706a55..06ab725785 100644
--- a/bufferlo.el
+++ b/bufferlo.el
@@ -136,6 +136,8 @@ This is a list of regular expressions that match buffer 
names."
         (advice-add #'frameset-save :around #'bufferlo--activate)
         (advice-add #'tab-bar-select-tab :around #'bufferlo--activate-force)
         (advice-add #'tab-bar--tab :around #'bufferlo--activate)
+        ;; Clone frame
+        (advice-add #'clone-frame :around #'bufferlo--activate-force)
         ;; Switch-tab workaround
         (advice-add #'tab-bar-select-tab :around 
#'bufferlo--clear-buffer-lists-activate)
         (advice-add #'tab-bar--tab :after #'bufferlo--clear-buffer-lists))
@@ -153,6 +155,8 @@ This is a list of regular expressions that match buffer 
names."
     (advice-remove #'frameset-save #'bufferlo--activate)
     (advice-remove #'tab-bar-select-tab #'bufferlo--activate-force)
     (advice-remove #'tab-bar--tab #'bufferlo--activate)
+    ;; Clone frame
+    (advice-remove #'clone-frame #'bufferlo--activate-force)
     ;; Switch-tab workaround
     (advice-remove #'tab-bar-select-tab 
#'bufferlo--clear-buffer-lists-activate)
     (advice-remove #'tab-bar--tab #'bufferlo--clear-buffer-lists)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]