Commit d4bfff97 authored by David Byers's avatar David Byers
Browse files

Check for broken read-kbd-macro when loading or compiling the elisp client

parent 37e1f80b
2002-04-24 David Byers <david.byers@swipnet.se>
* header.el: Added a check for obsolete read-kbd-macro (found in
macedit.el which is installed with the calc package in XEmacs).
* compatibility.el (make-temp-file): Maybe compatibility with
XEmacs. At least the warnings are gone...
......
......@@ -61,3 +61,10 @@
((and (eq (eval-when-compile emacs-major-version) 19)
(> emacs-major-version 19))
(error "A LysKOM client compiled for Emacs 19 will not run in newer versions of Emacs.")))
;;; Check some basic misfeatures that are still all too common
(eval-and-compile
(if (and (stringp (read-kbd-macro "<SPC>"))
(string-equal (read-kbd-macro "<SPC>") "<SPC>"))
(error "You probably have a file named macedit.elc in Emacs' load path.\nIt is obsolete and must be removed in order for LysKOM to work.")))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment