Make org-unique-id-maybe interactive

This commit is contained in:
Lucien Cartier-Tilet 2022-08-24 18:17:16 +02:00
parent e67035032f
commit c32fc49d3d
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ somewhere, i.e. #+OPTIONS: auto-id:t"
This function executes `org-unique-id' when the buffers major
mode is `org-mode', when the buffer is not read-only, and if
\\='auto-id:t\\' is found in an #+OPTIONS line."
(interactive)
(let ((case-fold-search t))
(when (and (eq major-mode 'org-mode)
(eq buffer-read-only nil)