diff options
author | Arun Isaac | 2025-04-12 22:08:56 +0100 |
---|---|---|
committer | Arun Isaac | 2025-04-12 22:12:11 +0100 |
commit | 7d8d75ce860663ae11b8ee4a947d8cb09ec14296 (patch) | |
tree | bcd8e3eb8c3ad17820c01d0c3090d8acdd9722e2 | |
parent | 1dd0be0fbc65989ef6f5494a5da600c2fb0871b8 (diff) | |
download | ennum-master.tar.gz ennum-master.tar.lz ennum-master.zip |
* ennum.el (ennum--read-post): Activate org mode before doing anything
else.
-rw-r--r-- | ennum.el | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -369,6 +369,9 @@ respectively by - and _, and the pad character = is optional." (defmemoize ennum--read-post (filename _last-modified) (ennum-with-file-contents filename + ;; org-element-at-point produces warnings when used in a non-org + ;; buffer. So, activate org mode. + (org-mode) (let ((metadata (org-export-get-environment 'ennum-html)) (export (apply-partially 'org-export-with-backend 'ennum-html))) (dolist (key (ennum-setting :required-metadata)) |