diff options
| author | Daniel Nicolai <dalanicolai@gmail.com> | 2023-04-09 23:14:45 +0200 |
|---|---|---|
| committer | Daniel Nicolai <dalanicolai@gmail.com> | 2023-04-09 23:29:54 +0200 |
| commit | 4a179fbacd7bc9efbd6cfcdc8772d42935e6de29 (patch) | |
| tree | 3a1eb3ec3e69b8358bf3ab6193c1b18328c40136 | |
| parent | 6896777c070384e1b78e3121eb3ac29499f6e1cd (diff) | |
Fix #3, untabify before creating tablist bufferexternals/doc-toc
| -rw-r--r-- | doc-toc.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,7 +3,7 @@ ;; Copyright (C) 2022 Free Software Foundation, Inc. ;; Author: Daniel Laurens Nicolai <dalanicolai@gmail.com> -;; Version: 1.01 +;; Version: 1.02 ;; Keywords: tools, outlines, convenience ;; Package-Requires: ((emacs "26.1")) ;; URL: https://github.com/dalanicolai/doc-tools-toc @@ -674,6 +674,7 @@ adjustment." (defun doc-toc--convert-to-tabulated-list () "Parse and prepare content of current buffer for `doc-toc-tabular-mode'." (interactive) + (untabify (point-min) (point-max)) (goto-char (point-min)) (let (lines levels) |
