aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2024-07-01 15:07:54 -0700
committerGravatar Tom Willemse2024-07-01 15:07:54 -0700
commitf9ff0da907c4996470ef093315a5e735fa83228f (patch)
tree295c5f9f3a98258e94207f8af772b59a882b5511
parent15181c50d13d4095bbd69ee574ab03d587ffe50e (diff)
downloademacs-config-f9ff0da907c4996470ef093315a5e735fa83228f.tar.gz
emacs-config-f9ff0da907c4996470ef093315a5e735fa83228f.zip
[oni-org] Fix indentation
-rw-r--r--oni-org/oni-org.el20
1 files changed, 10 insertions, 10 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")))))
-
- (defun oni-org-document-remove-inline-images-startup ()
+ (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 ()
"Remove a line to the current org buffer that will make it load images inline."
(interactive)
(unless (derived-mode-p 'org-mode)