[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-auto-tangle 820cdd19e6 37/56: used a more consice majo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-auto-tangle 820cdd19e6 37/56: used a more consice major mode check |
Date: |
Mon, 6 Jun 2022 11:58:54 -0400 (EDT) |
branch: elpa/org-auto-tangle
commit 820cdd19e6d30403215adc39d75936dd1ae6fb3b
Author: lispy-dobby <yilkalargawworkneh@gmail.com>
Commit: GitHub <noreply@github.com>
used a more consice major mode check
based on a comment by @riscy the
(string= (buffer-local-value 'major-mode (current-buffer)) "org-mode")
line is replaced by
(eq major-mode 'org-mode)
---
org-auto-tangle.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/org-auto-tangle.el b/org-auto-tangle.el
index c8128f381f..6402ea7c25 100644
--- a/org-auto-tangle.el
+++ b/org-auto-tangle.el
@@ -75,7 +75,7 @@
(defun org-auto-tangle-tangle-if-tag-exists ()
"Check if the #+auto_tangle option exists and call org-auto-tangle-async if
it exists."
- (when (and (string= (buffer-local-value 'major-mode (current-buffer))
"org-mode")
+ (when (and (eq major-mode 'org-mode)
(org-auto-tangle-find-value (current-buffer))
(not (string= (org-auto-tangle-find-value(current-buffer)) "nil")))
(org-auto-tangle-async (buffer-file-name))))
- [nongnu] elpa/org-auto-tangle 109e39f3df 02/56: coded an initial version of org-auto-tangle, (continued)
- [nongnu] elpa/org-auto-tangle 109e39f3df 02/56: coded an initial version of org-auto-tangle, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle a92a19a760 03/56: added README.org, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle 2fd7145e4a 29/56: removed the nil from remove hook, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle 5cc389669d 27/56: removed concat function and instead used formatted functions, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle 9d47eabdc5 26/56: removed trailing bracket, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle 310489018f 30/56: Fix URL, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle bafad8a79b 33/56: Merge pull request #3 from kamoii/patch-2, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle ed36045140 31/56: Fix README, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle 2982fc8449 35/56: updated the commentary section, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle 54dc42d581 36/56: updated the ```Usage:``` section, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle 820cdd19e6 37/56: used a more consice major mode check,
ELPA Syncer <=
- [nongnu] elpa/org-auto-tangle bc129f881b 51/56: Permit code block evaluation for files in safelist, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle 4be102116c 53/56: Update License.org, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle ea2ca74a68 48/56: Update org-auto-tangle.el, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle f1898c3d79 41/56: reverted the change to org-auto-tangle-find-value, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle 7bd6e9c934 38/56: improve the regex used to parse for the #+auto_tangle: option, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle fca066b145 07/56: remove the introduction header, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle d9eedc3ec0 22/56: corrected the license to match bsd-2-clause according to licencsee gem, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle bebfd65316 15/56: Formatted the license file to standard format, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle 7896c0efe0 11/56: Merge pull request #1 from syohex/dependencies, ELPA Syncer, 2022/06/06
- [nongnu] elpa/org-auto-tangle 0add68b91c 17/56: corrected the doc string issue raised by checkdoc, ELPA Syncer, 2022/06/06