aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic/proof-site.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>1998-12-14 15:16:21 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>1998-12-14 15:16:21 +0000
commit2b4ffa29821703690cdb8758662c9d43c42453fc (patch)
treea3b972b1cf0d146be6ae00b2f7e017ef952c9f76 /generic/proof-site.el
parent61237df6d2f941d43c8912e3de45bed70f676f4d (diff)
Gave up on buggy Emacs 19 support, now give error for Emacs 19.
Diffstat (limited to 'generic/proof-site.el')
-rw-r--r--generic/proof-site.el13
1 files changed, 3 insertions, 10 deletions
diff --git a/generic/proof-site.el b/generic/proof-site.el
index 60908868..e758bf60 100644
--- a/generic/proof-site.el
+++ b/generic/proof-site.el
@@ -7,16 +7,9 @@
;; $Id$
;;
-;; begin UGLY COMPATIBILITY HACK
-(or (featurep 'custom)
- ;; Quick hack to support defcustom for Emacs 19
- ;; FIXME da: Remove this soon.
- ;; Customize works fine with Emacs 20.2
- (defmacro defcustom (sym val doc &rest args)
- (defvar sym val doc))
- (defmacro group (sym mems doc &rest args)))
-;; end UGLY COMPATIBILITY HACK
-
+(if (or (not (boundp 'emacs-major-version))
+ (< emacs-major-version 20))
+ (error "Proof General is not compatible with Emacs %s" emacs-version))
(defgroup proof-general nil
"Customization of Proof General."