# HG changeset patch # User Jim Blandy # Date 729700519 0 # Node ID 4262f19c6cc967e42f2c1ccb221e933c2a7c677d # Parent a712cff3b6e724c079ad67754ca916cf615370ff * subr.el (mod): Add back this alias for %. diff -r a712cff3b6e7 -r 4262f19c6cc9 lisp/subr.el --- a/lisp/subr.el Sun Feb 14 14:34:47 1993 +0000 +++ b/lisp/subr.el Sun Feb 14 14:35:19 1993 +0000 @@ -224,6 +224,13 @@ (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)