alphapapa / alphapapa/org-make-toc
make org-make-toc error message less intrusive
Ouverte
question
- Langage dominant
- Emacs Lisp
- Étoiles
- 116
- Forks
- 18
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
For most of my docs I use this mode so I set
```elisp
(add-hook 'org-mode-hook #'org-make-toc-mode)
```
But not for all... In that case I get this error on every save, which is annoying:
```
"org-make-toc: No TOC node found."
```
Is there a way to make `org-make-toc` check whether there's a `:CONTENTS:` drawer at its start and if not, give up silently?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.