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

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

[elpa] externals/transient 3491161: manual: Use Org macros


From: Jonas Bernoulli
Subject: [elpa] externals/transient 3491161: manual: Use Org macros
Date: Tue, 23 Nov 2021 17:30:23 -0500 (EST)

branch: externals/transient
commit 349116159f707a474926b47e5f6b6240e8997a4d
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    manual: Use Org macros
---
 default.mk         |  4 +---
 docs/Makefile      |  2 +-
 docs/transient.org | 14 +++++++-------
 3 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/default.mk b/default.mk
index 4d6d0d2..1d4fd17 100644
--- a/default.mk
+++ b/default.mk
@@ -14,9 +14,7 @@ LOAD_PATH  ?= $(addprefix -L ../../,$(DEPS))
 LOAD_PATH  += -L .
 
 ifndef ORG_LOAD_PATH
-ORG_LOAD_PATH  = -L ../../dash
-ORG_LOAD_PATH += -L ../../org/lisp
-ORG_LOAD_PATH += -L ../../org-contrib/lisp
+ORG_LOAD_PATH  = -L ../../org/lisp
 ORG_LOAD_PATH += -L ../../ox-texinfo+
 endif
 
diff --git a/docs/Makefile b/docs/Makefile
index 37cd779..86573aa 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -7,7 +7,7 @@ info: $(PKG).info dir
 html: $(PKG).html
 pdf:  $(PKG).pdf
 
-ORG_ARGS  = --batch -Q $(ORG_LOAD_PATH) -l ox-texinfo+.el
+ORG_ARGS  = --batch -Q $(ORG_LOAD_PATH) -l ox-texinfo+
 ORG_EVAL  = --eval "(setq org-texinfo+-dissolve-noexport-headlines t)"
 ORG_EVAL += --eval "(setq indent-tabs-mode nil)"
 ORG_EVAL += --eval "(setq org-src-preserve-indentation nil)"
diff --git a/docs/transient.org b/docs/transient.org
index 85da5d9..675dc80 100644
--- a/docs/transient.org
+++ b/docs/transient.org
@@ -2,19 +2,19 @@
 :PREAMBLE:
 #+AUTHOR: Jonas Bernoulli
 #+EMAIL: jonas@bernoul.li
-#+DATE: 2018-2021
+#+DATE: 2018-{{{year}}}
 #+LANGUAGE: en
 
 #+TEXINFO_DIR_CATEGORY: Emacs
 #+TEXINFO_DIR_TITLE: Transient: (transient).
 #+TEXINFO_DIR_DESC: Transient Commands
-#+SUBTITLE: for version 0.3.7 (v0.3.7-9-g667488eb+1)
+#+SUBTITLE: for version {{{version}}}
 
 #+TEXINFO_DEFFN: t
 #+OPTIONS: H:4 num:4 toc:2
 #+PROPERTY: header-args :eval never
-#+BIND: ox-texinfo+-before-export-hook ox-texinfo+-update-copyright-years
-#+BIND: ox-texinfo+-before-export-hook ox-texinfo+-update-version-strings
+#+MACRO: version (eval (ox-texinfo+-get-version 'mixed))
+#+MACRO: year (eval (format-time-string "%Y"))
 
 Taking inspiration from prefix keys and prefix arguments, Transient
 implements a similar abstraction involving a prefix command, infix
@@ -37,10 +37,10 @@ Calling a suffix command usually causes the transient to be 
exited
 but suffix commands can also be configured to not exit the transient.
 
 #+TEXINFO: @noindent
-This manual is for Transient version 0.3.7 (v0.3.7-9-g667488eb+1).
+This manual is for Transient version {{{version}}}.
 
 #+BEGIN_QUOTE
-Copyright (C) 2018-2021 Jonas Bernoulli <jonas@bernoul.li>
+Copyright (C) 2018-{{{year}}} Jonas Bernoulli <jonas@bernoul.li>
 
 You can redistribute this document and/or modify it under the terms
 of the GNU General Public License as published by the Free Software
@@ -2152,7 +2152,7 @@ necessary changes.  See its doc string for more 
information.
 :END:
 
 #+BEGIN_QUOTE
-Copyright (C) 2018-2021 Jonas Bernoulli <jonas@bernoul.li>
+Copyright (C) 2018-{{{year}}} Jonas Bernoulli <jonas@bernoul.li>
 
 You can redistribute this document and/or modify it under the terms
 of the GNU General Public License as published by the Free Software



reply via email to

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