diff options
| author | Eric S. Raymond | 1993-04-23 06:50:48 +0000 |
|---|---|---|
| committer | Eric S. Raymond | 1993-04-23 06:50:48 +0000 |
| commit | 059184ddd56f3ed7ac9a0341151faf0d38eebea2 (patch) | |
| tree | 2ef5f2c27670f151bb6a7db3822f13a9a9d68663 | |
| parent | 38ebcf290b687a01b019861dbc8f509e54c796d7 (diff) | |
| download | emacs-059184ddd56f3ed7ac9a0341151faf0d38eebea2.tar.gz emacs-059184ddd56f3ed7ac9a0341151faf0d38eebea2.zip | |
All fsets changed to defaliases.
EOT
ci -u dired.el <<EOF
Some fsets changed to defaliases.
| -rw-r--r-- | lisp/subr.el | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 1b4e7b8cd26..932bf0b96c4 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -219,12 +219,12 @@ The normal global definition of the character C-x indirects to this keymap.") | |||
| 219 | 219 | ||
| 220 | (defvar ctl-x-4-map (make-sparse-keymap) | 220 | (defvar ctl-x-4-map (make-sparse-keymap) |
| 221 | "Keymap for subcommands of C-x 4") | 221 | "Keymap for subcommands of C-x 4") |
| 222 | (fset 'ctl-x-4-prefix ctl-x-4-map) | 222 | (defalias 'ctl-x-4-prefix ctl-x-4-map) |
| 223 | (define-key ctl-x-map "4" 'ctl-x-4-prefix) | 223 | (define-key ctl-x-map "4" 'ctl-x-4-prefix) |
| 224 | 224 | ||
| 225 | (defvar ctl-x-5-map (make-sparse-keymap) | 225 | (defvar ctl-x-5-map (make-sparse-keymap) |
| 226 | "Keymap for frame commands.") | 226 | "Keymap for frame commands.") |
| 227 | (fset 'ctl-x-5-prefix ctl-x-5-map) | 227 | (defalias 'ctl-x-5-prefix ctl-x-5-map) |
| 228 | (define-key ctl-x-map "5" 'ctl-x-5-prefix) | 228 | (define-key ctl-x-map "5" 'ctl-x-5-prefix) |
| 229 | 229 | ||
| 230 | 230 | ||
| @@ -353,27 +353,27 @@ nas returned by the `event-start' and `event-end' functions." | |||
| 353 | 353 | ||
| 354 | ;;;; Obsolescent names for functions. | 354 | ;;;; Obsolescent names for functions. |
| 355 | 355 | ||
| 356 | (fset 'make-syntax-table 'copy-syntax-table) | 356 | (defalias 'make-syntax-table 'copy-syntax-table) |
| 357 | (fset 'dot 'point) | 357 | (defalias 'dot 'point) |
| 358 | (fset 'dot-marker 'point-marker) | 358 | (defalias 'dot-marker 'point-marker) |
| 359 | (fset 'dot-min 'point-min) | 359 | (defalias 'dot-min 'point-min) |
| 360 | (fset 'dot-max 'point-max) | 360 | (defalias 'dot-max 'point-max) |
| 361 | (fset 'window-dot 'window-point) | 361 | (defalias 'window-dot 'window-point) |
| 362 | (fset 'set-window-dot 'set-window-point) | 362 | (defalias 'set-window-dot 'set-window-point) |
| 363 | (fset 'read-input 'read-string) | 363 | (defalias 'read-input 'read-string) |
| 364 | (fset 'send-string 'process-send-string) | 364 | (defalias 'send-string 'process-send-string) |
| 365 | (fset 'send-region 'process-send-region) | 365 | (defalias 'send-region 'process-send-region) |
| 366 | (fset 'show-buffer 'set-window-buffer) | 366 | (defalias 'show-buffer 'set-window-buffer) |
| 367 | (fset 'buffer-flush-undo 'buffer-disable-undo) | 367 | (defalias 'buffer-flush-undo 'buffer-disable-undo) |
| 368 | (fset 'eval-current-buffer 'eval-buffer) | 368 | (defalias 'eval-current-buffer 'eval-buffer) |
| 369 | (fset 'compiled-function-p 'byte-code-function-p) | 369 | (defalias 'compiled-function-p 'byte-code-function-p) |
| 370 | 370 | ||
| 371 | ;;; This name isn't mentioned in the manual, and we've been hoping to | 371 | ;;; This name isn't mentioned in the manual, and we've been hoping to |
| 372 | ;;; phase it out, but there's still a lot of code out there, even for | 372 | ;;; phase it out, but there's still a lot of code out there, even for |
| 373 | ;;; Emacs 18.59, which uses mod. I'm going to let the byte compiler's | 373 | ;;; Emacs 18.59, which uses mod. I'm going to let the byte compiler's |
| 374 | ;;; make-obsolete function to poke people a little more, and leave the | 374 | ;;; make-obsolete function to poke people a little more, and leave the |
| 375 | ;;; `mod' name around for a while longer. | 375 | ;;; `mod' name around for a while longer. |
| 376 | (fset 'mod '%) | 376 | (defalias 'mod '%) |
| 377 | 377 | ||
| 378 | ;; Some programs still use this as a function. | 378 | ;; Some programs still use this as a function. |
| 379 | (defun baud-rate () | 379 | (defun baud-rate () |
| @@ -383,23 +383,23 @@ nas returned by the `event-start' and `event-end' functions." | |||
| 383 | 383 | ||
| 384 | ;;;; Alternate names for functions - these are not being phased out. | 384 | ;;;; Alternate names for functions - these are not being phased out. |
| 385 | 385 | ||
| 386 | (fset 'string= 'string-equal) | 386 | (defalias 'string= 'string-equal) |
| 387 | (fset 'string< 'string-lessp) | 387 | (defalias 'string< 'string-lessp) |
| 388 | (fset 'move-marker 'set-marker) | 388 | (defalias 'move-marker 'set-marker) |
| 389 | (fset 'eql 'eq) | 389 | (defalias 'eql 'eq) |
| 390 | (fset 'not 'null) | 390 | (defalias 'not 'null) |
| 391 | (fset 'rplaca 'setcar) | 391 | (defalias 'rplaca 'setcar) |
| 392 | (fset 'rplacd 'setcdr) | 392 | (defalias 'rplacd 'setcdr) |
| 393 | (fset 'beep 'ding) ;preserve lingual purtity | 393 | (defalias 'beep 'ding) ;preserve lingual purtity |
| 394 | (fset 'indent-to-column 'indent-to) | 394 | (defalias 'indent-to-column 'indent-to) |
| 395 | (fset 'backward-delete-char 'delete-backward-char) | 395 | (defalias 'backward-delete-char 'delete-backward-char) |
| 396 | (fset 'search-forward-regexp (symbol-function 're-search-forward)) | 396 | (defalias 'search-forward-regexp (symbol-function 're-search-forward)) |
| 397 | (fset 'search-backward-regexp (symbol-function 're-search-backward)) | 397 | (defalias 'search-backward-regexp (symbol-function 're-search-backward)) |
| 398 | (fset 'int-to-string 'number-to-string) | 398 | (defalias 'int-to-string 'number-to-string) |
| 399 | 399 | ||
| 400 | ;;; Should this be an obsolete name? If you decide it should, you get | 400 | ;;; Should this be an obsolete name? If you decide it should, you get |
| 401 | ;;; to go through all the sources and change them. | 401 | ;;; to go through all the sources and change them. |
| 402 | (fset 'string-to-int 'string-to-number) | 402 | (defalias 'string-to-int 'string-to-number) |
| 403 | 403 | ||
| 404 | ;;;; Hook manipulation functions. | 404 | ;;;; Hook manipulation functions. |
| 405 | 405 | ||