aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2002-07-16 11:31:24 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2002-07-16 11:31:24 +0000
commit0b3b6059d7528f7736ff854f4b8fe38e47598171 (patch)
tree1127b3ec5ad42aed95ec57f608819b6ea4408a3d /generic
parente70d65e856149c746978b58f553cdff94ecf9f47 (diff)
Add char-to-int and friends, borrowed from x-symbol-emacs.
Diffstat (limited to 'generic')
-rw-r--r--generic/proof-compat.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/generic/proof-compat.el b/generic/proof-compat.el
index e78d3d91..577fbdc7 100644
--- a/generic/proof-compat.el
+++ b/generic/proof-compat.el
@@ -73,6 +73,13 @@ that use a window system such as X, and false for text-only terminals."
;;; GNU Emacs compatibility
;;;
+;;; Chars (borrowed from x-symbol-emacs.el compatability file)
+
+(unless (fboundp 'characterp) (defalias 'characterp 'integerp))
+(unless (fboundp 'int-to-char) (defalias 'int-to-char 'identity))
+(unless (fboundp 'char-to-int) (defalias 'char-to-int 'identity))
+
+
;; completion not autoloaded in GNU 20.6.1; we must call
;; dynamic-completion-mode after loading it.
(or (fboundp 'complete)