Simpler expression
This commit is contained in:
parent
e7c01d9dc8
commit
8633b3b83b
@ -129,7 +129,7 @@ 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)
|
(interactive)
|
||||||
(when (and (eq major-mode 'org-mode)
|
(when (and (eq major-mode 'org-mode)
|
||||||
(eq buffer-read-only nil)
|
(not buffer-read-only)
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(let ((case-fold-search t))
|
(let ((case-fold-search t))
|
||||||
|
Loading…
Reference in New Issue
Block a user