branch: elpa/with-editor
commit b0ff338baa46e3413dbed97790d27b8cc8cea47e
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
manual: put local-variables into an ignored section
---
Makefile | 2 +-
with-editor.org | 7 ++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index cb9176e..d0987ab 100644
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ pdf: $(PKG).pdf
%.texi: %.org
@printf "Generating $@\n"
@$(EMACS) -Q --batch $(OFLAGS) \
- -l ox-texinfo+.el $< -f org-texinfo-export-to-texinfo
+ -l ox-extra.el -l ox-texinfo+.el $< -f org-texinfo-export-to-texinfo
@printf "\n" >> $@
@rm -f $@~
diff --git a/with-editor.org b/with-editor.org
index 5e600b0..a3c547f 100644
--- a/with-editor.org
+++ b/with-editor.org
@@ -274,7 +274,7 @@ Emacs and what is the output of ~M-x with-editor-debug RET~.
# Local Variables:
# eval: (require 'ox-texinfo+ nil t)
# End:
-* Copying
+* _ Copying
:PROPERTIES:
:COPYING: t
:END:
@@ -293,8 +293,13 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
the GNU
General Public License for more details.
#+END_QUOTE
+* _ :ignore:
+
+# IMPORTANT: Also update ORG_ARGS and ORG_EVAL in the Makefile.
# Local Variables:
+# eval: (require 'ox-extra nil t)
# eval: (require 'ox-texinfo+ nil t)
+# eval: (and (featurep 'ox-extra) (ox-extras-activate '(ignore-headlines)))
# indent-tabs-mode: nil
# org-src-preserve-indentation: nil
# End: