mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-05 07:01:11 -08:00
* subr.el (mod): Add back this alias for %.
This commit is contained in:
parent
37c0ad585e
commit
d2ec895603
1 changed files with 7 additions and 0 deletions
|
|
@ -224,6 +224,13 @@ Accept any number of arguments, but ignore them."
|
|||
(fset 'eval-current-buffer 'eval-buffer)
|
||||
(fset '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.
|
||||
(fset 'mod '%)
|
||||
|
||||
; alternate names
|
||||
(fset 'string= 'string-equal)
|
||||
(fset 'string< 'string-lessp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue