aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-08-30 19:48:14 +0000
committerRichard M. Stallman1997-08-30 19:48:14 +0000
commit80216a47a461ee8aa52872c551241c6a67bad78b (patch)
tree2f377ca360eea0473d8301bc7d9ff3bef5521019
parentfdbc88f98bb2e79f23f0796c171aff55a9568f46 (diff)
downloademacs-80216a47a461ee8aa52872c551241c6a67bad78b.tar.gz
emacs-80216a47a461ee8aa52872c551241c6a67bad78b.zip
(defgroup, defcustom): Add Emacs 19 compatibility definitions.
-rw-r--r--lisp/textmodes/texinfmt.el7
-rw-r--r--lisp/textmodes/texinfo.el7
-rw-r--r--lisp/textmodes/texnfo-upd.el7
3 files changed, 21 insertions, 0 deletions
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el
index 9976824403b..90e682f4705 100644
--- a/lisp/textmodes/texinfmt.el
+++ b/lisp/textmodes/texinfmt.el
@@ -27,6 +27,13 @@
27 27
28;;; Emacs lisp functions to convert Texinfo files to Info files. 28;;; Emacs lisp functions to convert Texinfo files to Info files.
29 29
30(or (fboundp 'defgroup)
31 (defmacro defgroup (&rest ignore) nil))
32
33(or (fboundp 'defcustom)
34 (defmacro defcustom (var value doc &rest ignore)
35 `(defvar ,var ,value ,doc)))
36
30(defvar texinfmt-version "2.37 of 24 May 1997") 37(defvar texinfmt-version "2.37 of 24 May 1997")
31 38
32(defun texinfmt-version (&optional here) 39(defun texinfmt-version (&optional here)
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index eb2e5a60862..73b06600aeb 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -27,6 +27,13 @@
27 27
28;;; Code: 28;;; Code:
29 29
30(or (fboundp 'defgroup)
31 (defmacro defgroup (&rest ignore) nil))
32
33(or (fboundp 'defcustom)
34 (defmacro defcustom (var value doc &rest ignore)
35 `(defvar ,var ,value ,doc)))
36
30(defgroup texinfo nil 37(defgroup texinfo nil
31 "Texinfo Mode" 38 "Texinfo Mode"
32 :group 'docs) 39 :group 'docs)
diff --git a/lisp/textmodes/texnfo-upd.el b/lisp/textmodes/texnfo-upd.el
index 90599d31f29..22d9fc60538 100644
--- a/lisp/textmodes/texnfo-upd.el
+++ b/lisp/textmodes/texnfo-upd.el
@@ -149,6 +149,13 @@
149 149
150;;; Code: 150;;; Code:
151 151
152(or (fboundp 'defgroup)
153 (defmacro defgroup (&rest ignore) nil))
154
155(or (fboundp 'defcustom)
156 (defmacro defcustom (var value doc &rest ignore)
157 `(defvar ,var ,value ,doc)))
158
152(defvar texinfo-master-menu-header 159(defvar texinfo-master-menu-header
153 " --- The Detailed Node Listing ---\n" 160 " --- The Detailed Node Listing ---\n"
154 "String inserted before lower level entries in Texinfo master menu. 161 "String inserted before lower level entries in Texinfo master menu.