diff options
Diffstat (limited to 'lisp/term')
| -rw-r--r-- | lisp/term/sun.el | 7 | ||||
| -rw-r--r-- | lisp/term/wyse50.el | 5 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lisp/term/sun.el b/lisp/term/sun.el index c2a913ad345..b3af959c30e 100644 --- a/lisp/term/sun.el +++ b/lisp/term/sun.el | |||
| @@ -123,7 +123,8 @@ | |||
| 123 | 123 | ||
| 124 | (defvar sun-raw-prefix-hooks nil | 124 | (defvar sun-raw-prefix-hooks nil |
| 125 | "List of forms to evaluate after setting `sun-raw-prefix'.") | 125 | "List of forms to evaluate after setting `sun-raw-prefix'.") |
| 126 | (make-obsolete-variable 'sun-raw-prefix-hooks 'term-setup-hook "21.1") | 126 | ;; Obsolete since 21.1, but tty-setup-hook only exists since 24.4. |
| 127 | (make-obsolete-variable 'sun-raw-prefix-hooks 'tty-setup-hook "21.1") | ||
| 127 | 128 | ||
| 128 | 129 | ||
| 129 | 130 | ||
| @@ -149,7 +150,9 @@ | |||
| 149 | (global-set-key [f7] 'enlarge-window) | 150 | (global-set-key [f7] 'enlarge-window) |
| 150 | 151 | ||
| 151 | (when sun-raw-prefix-hooks | 152 | (when sun-raw-prefix-hooks |
| 152 | (message "sun-raw-prefix-hooks is obsolete! Use term-setup-hook instead!") | 153 | (message "sun-raw-prefix-hooks is obsolete! Use %s instead!" |
| 154 | (or (car-safe (get 'sun-raw-prefix-hooks 'byte-obsolete-variable)) | ||
| 155 | "emacs-startup-hook")) | ||
| 153 | (let ((hooks sun-raw-prefix-hooks)) | 156 | (let ((hooks sun-raw-prefix-hooks)) |
| 154 | (while hooks | 157 | (while hooks |
| 155 | (eval (car hooks)) | 158 | (eval (car hooks)) |
diff --git a/lisp/term/wyse50.el b/lisp/term/wyse50.el index a894801f985..aa9ba43d3d7 100644 --- a/lisp/term/wyse50.el +++ b/lisp/term/wyse50.el | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | ;;; wyse50.el --- terminal support code for Wyse 50 | 1 | ;;; wyse50.el --- terminal support code for Wyse 50 |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1989, 1993-1994, 2001-2014 Free Software Foundation, | 3 | ;; Copyright (C) 1989, 1993-1994, 2001-2014 Free Software Foundation, Inc. |
| 4 | ;; Inc. | ||
| 5 | 4 | ||
| 6 | ;; Author: Daniel Pfeiffer <occitan@esperanto.org>, | 5 | ;; Author: Daniel Pfeiffer <occitan@esperanto.org>, |
| 7 | ;; Jim Blandy <jimb@occs.cs.oberlin.edu> | 6 | ;; Jim Blandy <jimb@occs.cs.oberlin.edu> |
| @@ -132,7 +131,7 @@ | |||
| 132 | (concat "\ea23R" (1+ (frame-width)) "C\eG0")))))) | 131 | (concat "\ea23R" (1+ (frame-width)) "C\eG0")))))) |
| 133 | 132 | ||
| 134 | (defun enable-arrow-keys () | 133 | (defun enable-arrow-keys () |
| 135 | "To be called by `term-setup-hook'. Overrides 6 Emacs standard keys | 134 | "To be called by `tty-setup-hook'. Overrides 6 Emacs standard keys |
| 136 | whose functions are then typed as follows: | 135 | whose functions are then typed as follows: |
| 137 | C-a Funct Left-arrow | 136 | C-a Funct Left-arrow |
| 138 | C-h M-? | 137 | C-h M-? |