emacs-diffs
[Top][All Lists]
Advanced

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

master b3d310f 3/3: Fixes for doc/misc org source files


From: Glenn Morris
Subject: master b3d310f 3/3: Fixes for doc/misc org source files
Date: Fri, 26 Feb 2021 22:49:27 -0500 (EST)

branch: master
commit b3d310fa9694807fc0e9c54f7ec4f6e3407402e1
Author: Glenn Morris <rgm@gnu.org>
Commit: Glenn Morris <rgm@gnu.org>

    Fixes for doc/misc org source files
    
    * doc/misc/org-setup.org: Fix "version" file lookup.  Add copyright.
    * doc/misc/modus-themes.org: Fix up doclicense include.
    * doc/misc/org.org: Remove non-working and unused "modification-time".
    Fix up doclicense include.  Adjust setupfile inclusion.
---
 doc/misc/modus-themes.org |  4 ++--
 doc/misc/org-setup.org    | 21 +++++++++++++++++++--
 doc/misc/org.org          |  7 +++----
 3 files changed, 24 insertions(+), 8 deletions(-)

diff --git a/doc/misc/modus-themes.org b/doc/misc/modus-themes.org
index db15db4..03cce5b 100644
--- a/doc/misc/modus-themes.org
+++ b/doc/misc/modus-themes.org
@@ -17,7 +17,7 @@ released on {{{release-date}}}.  Any reference to a newer 
feature which does
 not yet form part of the latest tagged commit, is explicitly marked as
 such.
 
-Copyright (C) 2020 Free Software Foundation, Inc.
+Copyright (C) 2020--2021 Free Software Foundation, Inc.
 
 #+begin_quote
 Permission is granted to copy, distribute and/or modify this
@@ -1952,4 +1952,4 @@ to produce such a port, feel welcome 
[[https://protesilaos.com/contact][to conta
 :CUSTOM_ID: h:3077c3d2-7f90-4228-8f0a-73124f4026f6
 :END:
 
-#+INCLUDE: fdl-1.3.txt src txt
+#+texinfo: @include doclicense.texi
diff --git a/doc/misc/org-setup.org b/doc/misc/org-setup.org
index b83d16e..d0392f1 100644
--- a/doc/misc/org-setup.org
+++ b/doc/misc/org-setup.org
@@ -1,4 +1,21 @@
-# SETUPFILE for manuals
+# SETUPFILE for Org manual
+
+# Copyright (C) 2021 Free Software Foundation, Inc.
+#
+# This file is part of GNU Emacs.
+#
+# GNU Emacs is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# GNU Emacs is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.
 
 # XXX: We cannot use TODO keyword as a node starts with "TODO".
 #+todo: REVIEW FIXME | DONE
@@ -28,7 +45,7 @@
 # returns major.minor version number.  This is sufficient since bugfix
 # releases are not expected to add features and therefore imply manual
 # modifications.
-#+macro: version (eval (with-current-buffer (find-file-noselect 
"../lisp/org.el") (org-with-point-at 1 (if (re-search-forward "Version: 
+\\([0-9.]+\\)" nil t) (mapconcat #'identity (cl-subseq (split-string 
(match-string-no-properties 1) "\\.") 0 2) ".") (error "Missing \"Version\" 
keyword in \"org.el\"")))))
+#+macro: version (eval (with-current-buffer (find-file-noselect 
"../../lisp/org/org.el") (org-with-point-at 1 (if (re-search-forward "Version: 
+\\([0-9.]+\\)" nil t) (mapconcat #'identity (cl-subseq (split-string 
(match-string-no-properties 1) "\\.") 0 2) ".") (error "Missing \"Version\" 
keyword in \"org.el\"")))))
 
 # The "kbd" macro turns KBD into @kbd{KBD}.  Additionally, it
 # encloses case-sensitive special keys (SPC, RET...) within @key{...}.
diff --git a/doc/misc/org.org b/doc/misc/org.org
index 5d4e3f2..f072b5e 100644
--- a/doc/misc/org.org
+++ b/doc/misc/org.org
@@ -1,7 +1,6 @@
 #+title: The Org Manual
 #+subtitle:  Release {{{version}}}
 #+author:    The Org Mode Developers
-#+date:      {{{modification-time}}}
 #+language:  en
 
 
@@ -3244,7 +3243,7 @@ A link should be enclosed in double brackets and may 
contain
 descriptive text to be displayed instead of the URL (see [[*Link
 Format]]), for example:
 
-: [[http://www.gnu.org/software/emacs/][GNU Emacs]]
+: [[https://www.gnu.org/software/emacs/][GNU Emacs]]
 
 If the description is a file name or URL that points to an image, HTML
 export (see [[*HTML Export]]) inlines the image as a clickable button.  If
@@ -21233,7 +21232,7 @@ be complete if the ones above were not mentioned in 
this manual.
 :DESCRIPTION: The license for this documentation.
 :END:
 
-#+include: fdl.org
+#+texinfo: @include doclicense.texi
 
 * Main Index
 :PROPERTIES:
@@ -21286,7 +21285,7 @@ modify this GNU manual."
 
 * Export Setup                                                          
:noexport:
 
-#+setupfile: doc-setup.org
+#+setupfile: org-setup.org
 
 #+export_file_name: org.texi
 



reply via email to

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