another test
This commit is contained in:
parent
c9867715c1
commit
76ec29df1e
1 changed files with 46 additions and 47 deletions
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
(require 'org)
|
(require 'org)
|
||||||
|
|
||||||
(with-eval-after-load 'org
|
|
||||||
(defvar org-auto-id--all-ids '()
|
(defvar org-auto-id--all-ids '()
|
||||||
"List as set of all ids of the current org-file")
|
"List as set of all ids of the current org-file")
|
||||||
|
|
||||||
|
@ -81,7 +80,7 @@ ie, #+OPTIONS: auto-id:t"
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(when (and (eq major-mode 'org-mode)
|
(when (and (eq major-mode 'org-mode)
|
||||||
(eq buffer-read-only nil))
|
(eq buffer-read-only nil))
|
||||||
(org-auto-id-add-ids-to-headlines-in-file)))))))
|
(org-auto-id-add-ids-to-headlines-in-file))))))
|
||||||
|
|
||||||
(provide 'org-auto-id)
|
(provide 'org-auto-id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue