summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-02-14 14:35:19 +0000
committerJim Blandy <jimb@redhat.com>1993-02-14 14:35:19 +0000
commitd2ec895603579dfeb185c031f979b68aed24717a (patch)
treeace683550612cbb4f39477530d08d48396490869
parent37c0ad585e2c94330fc434b66e61dbd1ced4073e (diff)
downloademacs-d2ec895603579dfeb185c031f979b68aed24717a.tar.gz
emacs-d2ec895603579dfeb185c031f979b68aed24717a.tar.bz2
emacs-d2ec895603579dfeb185c031f979b68aed24717a.zip
* subr.el (mod): Add back this alias for %.
-rw-r--r--lisp/subr.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 23256306b89..d8b1d5a197d 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -224,6 +224,13 @@ Accept any number of arguments, but ignore them."
(fset 'eval-current-buffer 'eval-buffer)
(fset 'compiled-function-p 'byte-code-function-p)
+;;; This name isn't mentioned in the manual, and we've been hoping to
+;;; phase it out, but there's still a lot of code out there, even for
+;;; Emacs 18.59, which uses mod. I'm going to let the byte compiler's
+;;; make-obsolete function to poke people a little more, and leave the
+;;; `mod' name around for a while longer.
+(fset 'mod '%)
+
; alternate names
(fset 'string= 'string-equal)
(fset 'string< 'string-lessp)