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

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

[elpa] externals/inspector 702d3da5d9 2/3: Merge pull request #29 from t


From: ELPA Syncer
Subject: [elpa] externals/inspector 702d3da5d9 2/3: Merge pull request #29 from tazjin/local-revert-buffer-function
Date: Thu, 14 Sep 2023 18:57:59 -0400 (EDT)

branch: externals/inspector
commit 702d3da5d9e5875e7ba3ee8dba2c13690909ef99
Merge: daff792202 c2670a259d
Author: Mariano Montone <marianomontone@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #29 from tazjin/local-revert-buffer-function
    
    Only locally bind `revert-buffer-function'
---
 inspector.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inspector.el b/inspector.el
index 6e36c4a034..fcf194d5c6 100644
--- a/inspector.el
+++ b/inspector.el
@@ -780,7 +780,7 @@ is expected to be used.")
                       buf))))
     (with-current-buffer buffer
       (add-hook 'xref-backend-functions 'elisp--xref-backend 0 'local)
-      (setq revert-buffer-function #'inspector--revert-buffer)
+      (setq-local revert-buffer-function #'inspector--revert-buffer)
       (setq buffer-read-only nil)
       (erase-buffer))
     buffer))



reply via email to

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