diff options
| author | Miles Bader | 2000-10-18 14:09:54 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-10-18 14:09:54 +0000 |
| commit | 4e217e5069de0bfe49900b79f696f3feec9da6b9 (patch) | |
| tree | c47c975ae6f373cfb22c1e1f26a5a29f19ea3f95 | |
| parent | 0210dadf13e0cb4fcd41d7743b86f7f35bae7f82 (diff) | |
| download | emacs-4e217e5069de0bfe49900b79f696f3feec9da6b9.tar.gz emacs-4e217e5069de0bfe49900b79f696f3feec9da6b9.zip | |
(comint-delete-output): Renamed from `comint-kill-output'.
(comint-kill-output): Changed into an alias for `comint-delete-output',
and made obsolete.
(comint-mode-map): Rename references to comint-kill-output.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/comint.el | 16 |
2 files changed, 16 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 24bedb699c4..2c87d4f734e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2000-10-18 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * comint.el (comint-delete-output): Renamed from `comint-kill-output'. | ||
| 4 | (comint-kill-output): Changed into an alias for `comint-delete-output', | ||
| 5 | and made obsolete. | ||
| 6 | (comint-mode-map): Rename references to comint-kill-output. | ||
| 7 | |||
| 1 | 2000-10-18 Eli Zaretskii <eliz@is.elta.co.il> | 8 | 2000-10-18 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 9 | ||
| 3 | * diff-mode.el (diff-header-face, diff-file-header-face) | 10 | * diff-mode.el (diff-header-face, diff-file-header-face) |
diff --git a/lisp/comint.el b/lisp/comint.el index dbcd6683fdf..8edd77340ee 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -80,7 +80,7 @@ | |||
| 80 | ;; c-c c-c comint-interrupt-subjob ^c | 80 | ;; c-c c-c comint-interrupt-subjob ^c |
| 81 | ;; c-c c-z comint-stop-subjob ^z | 81 | ;; c-c c-z comint-stop-subjob ^z |
| 82 | ;; c-c c-\ comint-quit-subjob ^\ | 82 | ;; c-c c-\ comint-quit-subjob ^\ |
| 83 | ;; c-c c-o comint-kill-output Delete last batch of process output | 83 | ;; c-c c-o comint-delete-output Delete last batch of process output |
| 84 | ;; c-c c-r comint-show-output Show last batch of process output | 84 | ;; c-c c-r comint-show-output Show last batch of process output |
| 85 | ;; c-c c-l comint-dynamic-list-input-ring List input history | 85 | ;; c-c c-l comint-dynamic-list-input-ring List input history |
| 86 | ;; | 86 | ;; |
| @@ -118,7 +118,7 @@ | |||
| 118 | ;; comint-prompt-regexp string comint-bol uses to match prompt | 118 | ;; comint-prompt-regexp string comint-bol uses to match prompt |
| 119 | ;; comint-delimiter-argument-list list For delimiters and arguments | 119 | ;; comint-delimiter-argument-list list For delimiters and arguments |
| 120 | ;; comint-last-input-start marker Handy if inferior always echoes | 120 | ;; comint-last-input-start marker Handy if inferior always echoes |
| 121 | ;; comint-last-input-end marker For comint-kill-output command | 121 | ;; comint-last-input-end marker For comint-delete-output command |
| 122 | ;; comint-input-ring-size integer For the input history | 122 | ;; comint-input-ring-size integer For the input history |
| 123 | ;; comint-input-ring ring mechanism | 123 | ;; comint-input-ring ring mechanism |
| 124 | ;; comint-input-ring-index number ... | 124 | ;; comint-input-ring-index number ... |
| @@ -548,7 +548,7 @@ Entry to this mode runs the hooks on `comint-mode-hook'." | |||
| 548 | (define-key comint-mode-map "\C-c\C-z" 'comint-stop-subjob) | 548 | (define-key comint-mode-map "\C-c\C-z" 'comint-stop-subjob) |
| 549 | (define-key comint-mode-map "\C-c\C-\\" 'comint-quit-subjob) | 549 | (define-key comint-mode-map "\C-c\C-\\" 'comint-quit-subjob) |
| 550 | (define-key comint-mode-map "\C-c\C-m" 'comint-copy-old-input) | 550 | (define-key comint-mode-map "\C-c\C-m" 'comint-copy-old-input) |
| 551 | (define-key comint-mode-map "\C-c\C-o" 'comint-kill-output) | 551 | (define-key comint-mode-map "\C-c\C-o" 'comint-delete-output) |
| 552 | (define-key comint-mode-map "\C-c\C-r" 'comint-show-output) | 552 | (define-key comint-mode-map "\C-c\C-r" 'comint-show-output) |
| 553 | (define-key comint-mode-map "\C-c\C-e" 'comint-show-maximum-output) | 553 | (define-key comint-mode-map "\C-c\C-e" 'comint-show-maximum-output) |
| 554 | (define-key comint-mode-map "\C-c\C-l" 'comint-dynamic-list-input-ring) | 554 | (define-key comint-mode-map "\C-c\C-l" 'comint-dynamic-list-input-ring) |
| @@ -572,8 +572,8 @@ Entry to this mode runs the hooks on `comint-mode-hook'." | |||
| 572 | ;; Input history: | 572 | ;; Input history: |
| 573 | (define-key comint-mode-map [menu-bar inout] | 573 | (define-key comint-mode-map [menu-bar inout] |
| 574 | (cons "In/Out" (make-sparse-keymap "In/Out"))) | 574 | (cons "In/Out" (make-sparse-keymap "In/Out"))) |
| 575 | (define-key comint-mode-map [menu-bar inout kill-output] | 575 | (define-key comint-mode-map [menu-bar inout delete-output] |
| 576 | '("Kill Current Output Group" . comint-kill-output)) | 576 | '("Delete Current Output Group" . comint-delete-output)) |
| 577 | (define-key comint-mode-map [menu-bar inout next-prompt] | 577 | (define-key comint-mode-map [menu-bar inout next-prompt] |
| 578 | '("Forward Output Group" . comint-next-prompt)) | 578 | '("Forward Output Group" . comint-next-prompt)) |
| 579 | (define-key comint-mode-map [menu-bar inout previous-prompt] | 579 | (define-key comint-mode-map [menu-bar inout previous-prompt] |
| @@ -1870,7 +1870,7 @@ This function could be in the list `comint-output-filter-functions'." | |||
| 1870 | 1870 | ||
| 1871 | ;; Random input hackage | 1871 | ;; Random input hackage |
| 1872 | 1872 | ||
| 1873 | (defun comint-kill-output () | 1873 | (defun comint-delete-output () |
| 1874 | "Kill all output from interpreter since last input. | 1874 | "Kill all output from interpreter since last input. |
| 1875 | Does not delete the prompt." | 1875 | Does not delete the prompt." |
| 1876 | (interactive) | 1876 | (interactive) |
| @@ -1887,6 +1887,8 @@ Does not delete the prompt." | |||
| 1887 | (delete-region pmark (point)))) | 1887 | (delete-region pmark (point)))) |
| 1888 | ;; Output message and put back prompt | 1888 | ;; Output message and put back prompt |
| 1889 | (comint-output-filter proc replacement))) | 1889 | (comint-output-filter proc replacement))) |
| 1890 | (defalias 'comint-kill-output 'comint-delete-output) | ||
| 1891 | (make-obsolete 'comint-kill-output 'comint-delete-output "21.1") | ||
| 1890 | 1892 | ||
| 1891 | (defun comint-show-output () | 1893 | (defun comint-show-output () |
| 1892 | "Display start of this batch of interpreter output at top of window. | 1894 | "Display start of this batch of interpreter output at top of window. |
| @@ -3035,7 +3037,7 @@ REGEXP-GROUP is the regular expression group in REGEXP to use." | |||
| 3035 | ;; stop-shell-subjob comint-stop-subjob | 3037 | ;; stop-shell-subjob comint-stop-subjob |
| 3036 | ;; quit-shell-subjob comint-quit-subjob | 3038 | ;; quit-shell-subjob comint-quit-subjob |
| 3037 | ;; kill-shell-subjob comint-kill-subjob | 3039 | ;; kill-shell-subjob comint-kill-subjob |
| 3038 | ;; kill-output-from-shell comint-kill-output | 3040 | ;; kill-output-from-shell comint-delete-output |
| 3039 | ;; show-output-from-shell comint-show-output | 3041 | ;; show-output-from-shell comint-show-output |
| 3040 | ;; copy-last-shell-input Use comint-previous-input/comint-next-input | 3042 | ;; copy-last-shell-input Use comint-previous-input/comint-next-input |
| 3041 | ;; | 3043 | ;; |