Make org-unique-id-maybe interactive
This commit is contained in:
parent
e67035032f
commit
c32fc49d3d
@ -127,6 +127,7 @@ somewhere, i.e. #+OPTIONS: auto-id:t"
|
|||||||
This function executes `org-unique-id' when the buffer’s major
|
This function executes `org-unique-id' when the buffer’s major
|
||||||
mode is `org-mode', when the buffer is not read-only, and if
|
mode is `org-mode', when the buffer is not read-only, and if
|
||||||
\\='auto-id:t\\' is found in an #+OPTIONS line."
|
\\='auto-id:t\\' is found in an #+OPTIONS line."
|
||||||
|
(interactive)
|
||||||
(let ((case-fold-search t))
|
(let ((case-fold-search t))
|
||||||
(when (and (eq major-mode 'org-mode)
|
(when (and (eq major-mode 'org-mode)
|
||||||
(eq buffer-read-only nil)
|
(eq buffer-read-only nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user