Mercurial > emacs
changeset 1867:4262f19c6cc9
* subr.el (mod): Add back this alias for %.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sun, 14 Feb 1993 14:35:19 +0000 |
parents | a712cff3b6e7 |
children | f84d4b4b53da |
files | lisp/subr.el |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)