From f9ff0da907c4996470ef093315a5e735fa83228f Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 1 Jul 2024 15:07:54 -0700 Subject: [PATCH] [oni-org] Fix indentation --- oni-org/oni-org.el | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index a3431b0..8b8c448 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -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)