From 64a34812a0a3057855ffdd9558275eb0b3a09acb Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Thu, 3 Jan 2019 11:40:23 -0500 Subject: [PATCH] Refactoring to use org-hugo-auto-export-mode elsewhere in the repo --- doc/doc-setupfile.org | 4 ---- doc/github-files.org | 2 +- test/site/content-org/dir-locals/dir-locals-test.org | 1 - test/site/content/dir-locals-test/dir-locals-test.md | 1 - 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/doc/doc-setupfile.org b/doc/doc-setupfile.org index f592f30..6809c9a 100644 --- a/doc/doc-setupfile.org +++ b/doc/doc-setupfile.org @@ -19,7 +19,3 @@ #+macro: GPLv3 [[https://www.gnu.org/licenses/gpl-3.0][https://img.shields.io/badge/License-GPL%20v3-blue.svg]] #+macro: gitter [[https://gitter.im/KaushalModi/Lobby][https://badges.gitter.im/KaushalModi/Lobby.svg]] #+macro: saythanks [[https://saythanks.io/to/kaushalmodi][https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg]] - -# Local Variables: -# org-hugo-auto-export-on-save: nil -# End: diff --git a/doc/github-files.org b/doc/github-files.org index b747fc6..7a82ebd 100644 --- a/doc/github-files.org +++ b/doc/github-files.org @@ -68,5 +68,5 @@ export from Org to Markdown, and then finally =hugo=. #+include: "./ox-hugo-manual.org::#test" :only-contents t * COMMENT Local Variables :ARCHIVE: # Local Variables: -# org-hugo-auto-export-on-save: nil +# eval: (org-hugo-auto-export-mode -1) # End: diff --git a/test/site/content-org/dir-locals/dir-locals-test.org b/test/site/content-org/dir-locals/dir-locals-test.org index d4e100f..8f9811e 100644 --- a/test/site/content-org/dir-locals/dir-locals-test.org +++ b/test/site/content-org/dir-locals/dir-locals-test.org @@ -25,7 +25,6 @@ Test setting of few Org Hugo variables via =.dir-locals.el=. | =org-hugo-export-with-section-numbers= | =t= | | =org-hugo-export-creator-string= | ="Dummy creator string"= | | =org-hugo-date-format= | ="%Y-%m-%d"= | -| =org-hugo-auto-export-on-save= | =t= | |----------------------------------------+-------------------------------------------------------------------------| * Test text =This is verbatim= but ~this~ is wrapped in the =kbd= tag. As diff --git a/test/site/content/dir-locals-test/dir-locals-test.md b/test/site/content/dir-locals-test/dir-locals-test.md index 666a8a5..bf72ebe 100644 --- a/test/site/content/dir-locals-test/dir-locals-test.md +++ b/test/site/content/dir-locals-test/dir-locals-test.md @@ -45,7 +45,6 @@ creator: "Dummy creator string" | `org-hugo-export-with-section-numbers` | `t` | | `org-hugo-export-creator-string` | `"Dummy creator string"` | | `org-hugo-date-format` | `"%Y-%m-%d"` | -| `org-hugo-auto-export-on-save` | `t` | ## 2 Test text {#test-text}