aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert1993-08-10 04:14:17 +0000
committerPaul Eggert1993-08-10 04:14:17 +0000
commit46780baeebab34dcecbe3d91935dac7ae8b95af1 (patch)
treebedb120aa195de49197b071c395be287af4707a6
parentebe6b8146098faa60cc7731f54c0eba2611d7ff8 (diff)
downloademacs-46780baeebab34dcecbe3d91935dac7ae8b95af1.tar.gz
emacs-46780baeebab34dcecbe3d91935dac7ae8b95af1.zip
`mod' is no longer an alias for `%'.
-rw-r--r--lisp/emacs-lisp/bytecomp.el2
-rw-r--r--lisp/subr.el7
2 files changed, 0 insertions, 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."
2155(byte-defop-compiler19 buffer-substring 2) 2155(byte-defop-compiler19 buffer-substring 2)
2156(byte-defop-compiler19 delete-region 2) 2156(byte-defop-compiler19 delete-region 2)
2157(byte-defop-compiler19 narrow-to-region 2) 2157(byte-defop-compiler19 narrow-to-region 2)
2158(byte-defop-compiler19 (mod byte-rem) 2)
2159(byte-defop-compiler19 (% byte-rem) 2) 2158(byte-defop-compiler19 (% byte-rem) 2)
2160(byte-defop-compiler aset 3) 2159(byte-defop-compiler aset 3)
2161 2160
@@ -3049,7 +3048,6 @@ For example, invoke `emacs -batch -f batch-byte-recompile-directory .'."
3049 (kill-emacs 0)) 3048 (kill-emacs 0))
3050 3049
3051 3050
3052(make-obsolete 'mod '%)
3053(make-obsolete 'dot 'point) 3051(make-obsolete 'dot 'point)
3054(make-obsolete 'dot-max 'point-max) 3052(make-obsolete 'dot-max 'point-max)
3055(make-obsolete 'dot-min 'point-min) 3053(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."
419(defalias 'eval-current-buffer 'eval-buffer) 419(defalias 'eval-current-buffer 'eval-buffer)
420(defalias 'compiled-function-p 'byte-code-function-p) 420(defalias 'compiled-function-p 'byte-code-function-p)
421 421
422;;; This name isn't mentioned in the manual, and we've been hoping to
423;;; phase it out, but there's still a lot of code out there, even for
424;;; Emacs 18.59, which uses mod. I'm going to let the byte compiler's
425;;; make-obsolete function to poke people a little more, and leave the
426;;; `mod' name around for a while longer.
427(defalias 'mod '%)
428
429;; Some programs still use this as a function. 422;; Some programs still use this as a function.
430(defun baud-rate () 423(defun baud-rate ()
431 "Obsolete function returning the value of the `baud-rate' variable. 424 "Obsolete function returning the value of the `baud-rate' variable.