[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/magit 7d154b1: manual: Use Org macros
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/magit 7d154b1: manual: Use Org macros |
Date: |
Sun, 7 Nov 2021 18:57:46 -0500 (EST) |
branch: elpa/magit
commit 7d154b1f29214a6d6f2ebfb1af050d737c43e8b0
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
manual: Use Org macros
---
Documentation/Makefile | 4 ++--
Documentation/magit-section.org | 15 +++++++--------
Documentation/magit.org | 15 +++++++--------
default.mk | 1 -
4 files changed, 16 insertions(+), 19 deletions(-)
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 85aa887..7034cb4 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -83,8 +83,8 @@ clean:
## Release management ################################################
-ORG_ARGS = --batch -Q $(ORG_LOAD_PATH) -l magit-utils.el -l ox-texinfo+.el
-ORG_ARGS += --eval "(or (require 'org-man nil t) (require 'ol-man))"
+ORG_ARGS = --batch -Q $(ORG_LOAD_PATH) -l ox-texinfo+
+ORG_ARGS += -l magit-utils -l ol-man
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/Documentation/magit-section.org b/Documentation/magit-section.org
index 33dec3f..ac42a68 100644
--- a/Documentation/magit-section.org
+++ b/Documentation/magit-section.org
@@ -2,19 +2,19 @@
:PREAMBLE:
#+AUTHOR: Jonas Bernoulli
#+EMAIL: jonas@bernoul.li
-#+DATE: 2015-2021
+#+DATE: 2015-{{{year}}}
#+LANGUAGE: en
#+TEXINFO_DIR_CATEGORY: Emacs
#+TEXINFO_DIR_TITLE: Magit-Section: (magit-section).
#+TEXINFO_DIR_DESC: Use Magit sections in your own packages.
-#+SUBTITLE: for version 3.3.0
+#+SUBTITLE: for version {{{version}}}
#+TEXINFO_DEFFN: t
#+OPTIONS: H:4 num:3 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"))
This package implements the main user interface of Magit — the
collapsible sections that make up its buffers. This package used
@@ -26,10 +26,10 @@ user options see [[info:magit#Sections]]. This manual
documents how you
can use sections in your own packages.
#+TEXINFO: @noindent
-This manual is for Magit-Section version 3.3.0.
+This manual is for Magit-Section version {{{version}}}.
#+BEGIN_QUOTE
-Copyright (C) 2015-2021 Jonas Bernoulli <jonas@bernoul.li>
+Copyright (C) 2015-{{{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
@@ -255,7 +255,7 @@ source for suitable examples before asking me for help.
Thanks!
:END:
#+BEGIN_QUOTE
-Copyright (C) 2015-2021 Jonas Bernoulli <jonas@bernoul.li>
+Copyright (C) 2015-{{{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
@@ -276,7 +276,6 @@ General Public License for more details.
# IMPORTANT: Also update ORG_ARGS and ORG_EVAL in the Makefile.
# Local Variables:
# eval: (require 'magit-utils nil t)
-# eval: (require 'org-man nil t)
# eval: (require 'ol-man nil t)
# eval: (require 'ox-texinfo+ nil t)
# org-texinfo+-dissolve-noexport-headlines: t
diff --git a/Documentation/magit.org b/Documentation/magit.org
index b40ecb7..d411ac3 100644
--- a/Documentation/magit.org
+++ b/Documentation/magit.org
@@ -2,19 +2,19 @@
:PREAMBLE:
#+AUTHOR: Jonas Bernoulli
#+EMAIL: jonas@bernoul.li
-#+DATE: 2015-2021
+#+DATE: 2015-{{{year}}}
#+LANGUAGE: en
#+TEXINFO_DIR_CATEGORY: Emacs
#+TEXINFO_DIR_TITLE: Magit: (magit).
#+TEXINFO_DIR_DESC: Using Git from Emacs with Magit.
-#+SUBTITLE: for version 3.3.0
+#+SUBTITLE: for version {{{version}}}
#+TEXINFO_DEFFN: t
#+OPTIONS: H:4 num:3 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"))
Magit is an interface to the version control system Git, implemented
as an Emacs package. Magit aspires to be a complete Git porcelain.
@@ -25,10 +25,10 @@ directly from within Emacs. While many fine Git clients
exist, only
Magit and Git itself deserve to be called porcelains.
#+TEXINFO: @noindent
-This manual is for Magit version 3.3.0.
+This manual is for Magit version {{{version}}}.
#+BEGIN_QUOTE
-Copyright (C) 2015-2021 Jonas Bernoulli <jonas@bernoul.li>
+Copyright (C) 2015-{{{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
@@ -8999,7 +8999,7 @@ Please also see the [[*FAQ]].
:END:
#+BEGIN_QUOTE
-Copyright (C) 2015-2021 Jonas Bernoulli <jonas@bernoul.li>
+Copyright (C) 2015-{{{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
@@ -9035,7 +9035,6 @@ General Public License for more details.
# IMPORTANT: Also update ORG_ARGS and ORG_EVAL in the Makefile.
# Local Variables:
# eval: (require 'magit-utils nil t)
-# eval: (require 'org-man nil t)
# eval: (require 'ol-man nil t)
# eval: (require 'ox-texinfo+ nil t)
# org-texinfo+-dissolve-noexport-headlines: t
diff --git a/default.mk b/default.mk
index 5118c69..b594782 100644
--- a/default.mk
+++ b/default.mk
@@ -216,7 +216,6 @@ endif # ifndef LOAD_PATH
ifndef ORG_LOAD_PATH
ORG_LOAD_PATH = $(LOAD_PATH)
ORG_LOAD_PATH += -L ../../org/lisp
-ORG_LOAD_PATH += -L ../../org-contrib/lisp
ORG_LOAD_PATH += -L ../../ox-texinfo+
endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/magit 7d154b1: manual: Use Org macros,
ELPA Syncer <=