mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
mod' is no longer an alias for
%'.
This commit is contained in:
parent
ebe6b81460
commit
46780baeeb
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user