Mercurial > emacs
changeset 4518:9081f7a8fa6d
`mod' is no longer an alias for `%'.
author | Paul Eggert <eggert@twinsun.com> |
---|---|
date | Tue, 10 Aug 1993 04:14:17 +0000 |
parents | 45e3868140f1 |
children | c8f5e05c332e |
files | lisp/emacs-lisp/bytecomp.el lisp/subr.el |
diffstat | 2 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- 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)
--- 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.