From 46780baeebab34dcecbe3d91935dac7ae8b95af1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 10 Aug 1993 04:14:17 +0000 Subject: [PATCH] `mod' is no longer an alias for `%'. --- lisp/emacs-lisp/bytecomp.el | 2 -- lisp/subr.el | 7 ------- 2 files changed, 9 deletions(-) diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 1bf1b878039..19efb5db085 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -2155,7 +2155,6 @@ If FORM is a lambda or a macro, byte-compile it as a function." (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 @@ For example, invoke `emacs -batch -f batch-byte-recompile-directory .'." (kill-emacs 0)) -(make-obsolete 'mod '%) (make-obsolete 'dot 'point) (make-obsolete 'dot-max 'point-max) (make-obsolete 'dot-min 'point-min) diff --git a/lisp/subr.el b/lisp/subr.el index e5f4189ebcb..3b0f31bdc10 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -419,13 +419,6 @@ as returned by the `event-start' and `event-end' functions." (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. -- 2.39.5