Commit 1e454011 authored by David Byers's avatar David Byers
Browse files

Added signum function for Gnu Emacs compatibility

parent cfaf90e8
2000-03-22 David Byers <davby@ida.liu.se>
* compatibility.el (signum): New compatibility function.
* mship-edit.el: Support for hidden entries in motion and entry
movement commands.
(lp--next-visible-entry): New function.
......
......@@ -176,6 +176,11 @@ KEYS should be a string in the format used for saving keyboard macros
(lyskom-compatibility-forms (fboundp 'frame-width)
(fset 'frame-width 'screen-width))
(lyskom-provide-function signum (num)
(cond ((< num 0) -1)
((> num 0) 1)
(t 0)))
;;; ======================================================================
;;; Definition of map-keymap that hopefully works like the one in XEmacs
......
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