diff options
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/artist.el | 14 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 13 | ||||
| -rw-r--r-- | lisp/textmodes/texinfmt.el | 7 | ||||
| -rw-r--r-- | lisp/textmodes/texinfo.el | 7 |
4 files changed, 0 insertions, 41 deletions
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el index 63a9e8f615a..09127483fb0 100644 --- a/lisp/textmodes/artist.el +++ b/lisp/textmodes/artist.el @@ -201,20 +201,6 @@ (defvar x-pointer-crosshair) -(eval-and-compile - (condition-case () - (require 'custom) - (error nil)) - (if (and (featurep 'custom) (fboundp 'custom-declare-variable)) - nil ;; We've got what we needed - ;; We have the old custom-library, hack around it! - (defmacro defgroup (&rest args) - nil) - (defmacro defface (var values doc &rest args) - `(make-face ,var)) - (defmacro defcustom (var value doc &rest args) - `(defvar ,var ,value ,doc)))) - ;; User options ;; vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 7fb6aed139a..82d11c47e8e 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -203,19 +203,6 @@ (defvar mail-yank-prefix) -;;; Custom.el macros require recompiling this when they are not present. -;;; Add in backward compatible custom support. -(eval-when-compile - (if (not (fboundp 'defcustom)) - (defmacro defcustom (symbol value doc &rest args) - "Empty replacement for defcustom when not supplied." - `(defvar ,symbol ,value ,doc)))) - -(eval-when-compile - (if (not (fboundp 'defgroup)) - (defmacro defgroup (&rest args) - "Empty replacement for defgroup when not supplied."))) - (defgroup ispell nil "User variables for Emacs ispell interface." :group 'applications) diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index 812fcca06d6..a96086cb968 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el @@ -30,13 +30,6 @@ ;;; Emacs lisp functions to convert Texinfo files to Info files. -(or (fboundp 'defgroup) - (defmacro defgroup (&rest ignore) nil)) - -(or (fboundp 'defcustom) - (defmacro defcustom (var value doc &rest ignore) - `(defvar ,var ,value ,doc))) - (defvar texinfmt-version "2.42 of 7 Jul 2006") (defun texinfmt-version (&optional here) diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el index 004e57bc21a..df8af8bac40 100644 --- a/lisp/textmodes/texinfo.el +++ b/lisp/textmodes/texinfo.el @@ -34,13 +34,6 @@ ;;; Code: -(or (fboundp 'defgroup) - (defmacro defgroup (&rest ignore) nil)) - -(or (fboundp 'defcustom) - (defmacro defcustom (var value doc &rest ignore) - `(defvar ,var ,value ,doc))) - (eval-when-compile (require 'tex-mode) (require 'cl)) (defvar outline-heading-alist) |
