branch: externals/doc-toc
commit b22f6f0a2d5014e37dcd91c305b9b1651f189c3b
Author: Daniel Nicolai <dalanico...@gmail.com>
Commit: Daniel Nicolai <dalanico...@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