From d2ec895603579dfeb185c031f979b68aed24717a Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sun, 14 Feb 1993 14:35:19 +0000 Subject: [PATCH] * subr.el (mod): Add back this alias for %. --- lisp/subr.el | 7 +++++++ 1 file changed, 7 insertions(+) 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)