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

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

[elpa] externals/taxy 906d387 30/39: Fix: (taxy-magit-section-pp) Use ma


From: ELPA Syncer
Subject: [elpa] externals/taxy 906d387 30/39: Fix: (taxy-magit-section-pp) Use magit-section-mode
Date: Fri, 27 Aug 2021 10:57:35 -0400 (EDT)

branch: externals/taxy
commit 906d38757660dcdd8b1d09d94ec8241cf709c8d4
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>

    Fix: (taxy-magit-section-pp) Use magit-section-mode
---
 taxy-magit-section.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/taxy-magit-section.el b/taxy-magit-section.el
index afad87c..932e917 100644
--- a/taxy-magit-section.el
+++ b/taxy-magit-section.el
@@ -43,8 +43,7 @@
 (cl-defun taxy-magit-section-pp (taxy &key (objects 'first))
   "Pretty-print TAXY into a buffer with `magit-section' and show it."
   (with-current-buffer (get-buffer-create "*taxy-magit-section-pp*")
-    (setf buffer-read-only t)
-    (use-local-map magit-section-mode-map)
+    (magit-section-mode)
     (let ((inhibit-read-only t))
       (erase-buffer)
       (taxy-magit-section-insert taxy :objects objects))



reply via email to

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