[oni-org] Fix indentation
This commit is contained in:
parent
15181c50d1
commit
f9ff0da907
1 changed files with 9 additions and 9 deletions
|
@ -95,16 +95,16 @@
|
|||
(unless (derived-mode-p 'org-mode)
|
||||
(error "Not currently in an org-mode buffer"))
|
||||
(save-excursion
|
||||
(goto-char (point-min))
|
||||
(let ((header-end (or (search-forward "\n\n" nil t)
|
||||
(point-max)))
|
||||
(case-fold-search t))
|
||||
(goto-char (point-min))
|
||||
(unless (search-forward "#+startup: inlineimages" header-end t)
|
||||
(goto-char (1- header-end))
|
||||
(insert "#+STARTUP: inlineimages\n")))))
|
||||
(goto-char (point-min))
|
||||
(let ((header-end (or (search-forward "\n\n" nil t)
|
||||
(point-max)))
|
||||
(case-fold-search t))
|
||||
(goto-char (point-min))
|
||||
(unless (search-forward "#+startup: inlineimages" header-end t)
|
||||
(goto-char (1- header-end))
|
||||
(insert "#+STARTUP: inlineimages\n")))))
|
||||
|
||||
(defun oni-org-document-remove-inline-images-startup ()
|
||||
(defun oni-org-document-remove-inline-images-startup ()
|
||||
"Remove a line to the current org buffer that will make it load images inline."
|
||||
(interactive)
|
||||
(unless (derived-mode-p 'org-mode)
|
||||
|
|
Loading…
Reference in a new issue