# HG changeset patch # User Paul Eggert # Date 744956057 0 # Node ID 9081f7a8fa6d9b04afc869c657a2f0ddca3c46dc # Parent 45e3868140f14efde06610605f6c1d3cedbdc5ee `mod' is no longer an alias for `%'. diff -r 45e3868140f1 -r 9081f7a8fa6d lisp/emacs-lisp/bytecomp.el --- a/lisp/emacs-lisp/bytecomp.el Tue Aug 10 04:14:17 1993 +0000 +++ b/lisp/emacs-lisp/bytecomp.el Tue Aug 10 04:14:17 1993 +0000 @@ -2155,7 +2155,6 @@ (byte-defop-compiler19 buffer-substring 2) (byte-defop-compiler19 delete-region 2) (byte-defop-compiler19 narrow-to-region 2) -(byte-defop-compiler19 (mod byte-rem) 2) (byte-defop-compiler19 (% byte-rem) 2) (byte-defop-compiler aset 3) @@ -3049,7 +3048,6 @@ (kill-emacs 0)) -(make-obsolete 'mod '%) (make-obsolete 'dot 'point) (make-obsolete 'dot-max 'point-max) (make-obsolete 'dot-min 'point-min) diff -r 45e3868140f1 -r 9081f7a8fa6d lisp/subr.el --- a/lisp/subr.el Tue Aug 10 04:14:17 1993 +0000 +++ b/lisp/subr.el Tue Aug 10 04:14:17 1993 +0000 @@ -419,13 +419,6 @@ (defalias 'eval-current-buffer 'eval-buffer) (defalias '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. -(defalias 'mod '%) - ;; Some programs still use this as a function. (defun baud-rate () "Obsolete function returning the value of the `baud-rate' variable.