Commit 46780bae authored by Paul Eggert's avatar Paul Eggert
Browse files

`mod' is no longer an alias for `%'.

parent ebe6b814
......@@ -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)
......@@ -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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment