diff options
author | Glenn Morris <rgm@gnu.org> | 2018-01-10 13:47:42 -0500 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2018-01-10 13:47:42 -0500 |
commit | a44fee314f151d0ee872f9ce584c7df52ee9f0f6 (patch) | |
tree | 1cfcf78cebd16879f612b55c40f16f790ab70397 /lisp/term | |
parent | b877e9aa0225ad186b544f127702e16c61b08444 (diff) | |
download | emacs-a44fee314f151d0ee872f9ce584c7df52ee9f0f6.tar.gz |
Remove obsolete variable sun-raw-prefix-hooks
* lisp/term/sun.el (sun-raw-prefix-hooks): Remove, obsolete since 21.1.
(terminal-init-sun): No longer consult sun-raw-prefix-hooks.
Diffstat (limited to 'lisp/term')
-rw-r--r-- | lisp/term/sun.el | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/lisp/term/sun.el b/lisp/term/sun.el index b3e70f3107b..34ed492c872 100644 --- a/lisp/term/sun.el +++ b/lisp/term/sun.el @@ -118,14 +118,6 @@ (define-key map "D" [left]) ; R10 map)) -;; Since .emacs gets loaded before this file, a hook is supplied -;; for you to put your own bindings in. - -(defvar sun-raw-prefix-hooks nil - "List of forms to evaluate after setting `sun-raw-prefix'.") -;; Obsolete since 21.1, but tty-setup-hook only exists since 24.4. -(make-obsolete-variable 'sun-raw-prefix-hooks 'tty-setup-hook "21.1") - (defun terminal-init-sun () @@ -147,16 +139,7 @@ (global-set-key [f3] 'scroll-down-in-place) (global-set-key [f4] 'scroll-up-in-place) (global-set-key [f6] 'shrink-window) - (global-set-key [f7] 'enlarge-window) - - (when sun-raw-prefix-hooks - (message "sun-raw-prefix-hooks is obsolete! Use %s instead!" - (or (car-safe (get 'sun-raw-prefix-hooks 'byte-obsolete-variable)) - "emacs-startup-hook")) - (let ((hooks sun-raw-prefix-hooks)) - (while hooks - (eval (car hooks)) - (setq hooks (cdr hooks)))))) + (global-set-key [f7] 'enlarge-window)) (provide 'term/sun) |