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

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

[elpa] externals/doc-toc b22f6f0a2d 28/84: add golden-ratio-mode to toc-


From: ELPA Syncer
Subject: [elpa] externals/doc-toc b22f6f0a2d 28/84: add golden-ratio-mode to toc-tablist
Date: Mon, 26 Sep 2022 13:58:36 -0400 (EDT)

branch: externals/doc-toc
commit b22f6f0a2d5014e37dcd91c305b9b1651f189c3b
Author: Daniel Nicolai <dalanicolai@gmail.com>
Commit: Daniel Nicolai <dalanicolai@gmail.com>

    add golden-ratio-mode to toc-tablist
---
 toc-mode.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/toc-mode.el b/toc-mode.el
index 3360fe2f4b..ba7fe80c21 100644
--- a/toc-mode.el
+++ b/toc-mode.el
@@ -381,6 +381,8 @@ Use with the universal argument (C-u) omits cleanup to get 
the unprocessed text.
   (let ((source-buffer buffer)
         (toc-tablist (toc-convert-to-tabulated-list)))
     (switch-to-buffer (concat (buffer-name) ".list"))
+    (if (fboundp 'golden-ratio-mode)
+        (golden-ratio-mode))
     (toc-tabular-mode)
     (setq-local doc-buffer source-buffer)
     (setq-local tabulated-list-entries toc-tablist)



reply via email to

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