emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/org-auto-tangle c07a86bbd5: untabified to make the white-s


From: ELPA Syncer
Subject: [nongnu] elpa/org-auto-tangle c07a86bbd5: untabified to make the white-spaces more consistent
Date: Sat, 9 Jul 2022 16:58:49 -0400 (EDT)

branch: elpa/org-auto-tangle
commit c07a86bbd5e43a56852bf95403c6682cdb7c6211
Author: yilkalargaw <yilkalargawworkneh@gmail.com>
Commit: yilkalargaw <yilkalargawworkneh@gmail.com>

    untabified to make the white-spaces more consistent
---
 org-auto-tangle.el | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/org-auto-tangle.el b/org-auto-tangle.el
index 37e2723f27..50b22e9ebe 100644
--- a/org-auto-tangle.el
+++ b/org-auto-tangle.el
@@ -70,9 +70,9 @@ for a specific file, add its full path to this list.")
     (save-restriction
       (widen)
       (save-excursion
-       (goto-char (point-min))
-       (when (re-search-forward (org-make-options-regexp '("auto_tangle")) nil 
:noerror)
-         (match-string 2))))))
+        (goto-char (point-min))
+        (when (re-search-forward (org-make-options-regexp '("auto_tangle")) 
nil :noerror)
+          (match-string 2))))))
 
 (defun org-auto-tangle-async (file)
   "Invoke `org-babel-tangle-file' asynchronously on FILE."
@@ -105,8 +105,8 @@ Tangle will happen depending on the value of
 `#+auto_tangle' always overrides `org-auto-tangle-default'."
   (let ((auto-tangle-kw (org-auto-tangle-find-value (current-buffer))))
     (when (and (eq major-mode 'org-mode)
-              (or (and auto-tangle-kw
-                       (not (string= auto-tangle-kw "nil")))
+               (or (and auto-tangle-kw
+                        (not (string= auto-tangle-kw "nil")))
                    (and (not auto-tangle-kw)
                         org-auto-tangle-default)))
       (org-auto-tangle-async (buffer-file-name)))))
@@ -117,8 +117,8 @@ Tangle will happen depending on the value of
   :lighter " org-a-t"
 
   (if org-auto-tangle-mode
-             (add-hook 'after-save-hook #'org-auto-tangle-tangle-if-needed
-                       nil 'local)
+      (add-hook 'after-save-hook #'org-auto-tangle-tangle-if-needed
+                nil 'local)
     (remove-hook 'after-save-hook #'org-auto-tangle-tangle-if-needed 'local)))
 
 (provide 'org-auto-tangle)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]