diff options
| author | Glenn Morris | 2014-02-25 00:41:47 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-02-25 00:41:47 -0800 |
| commit | 98bd6b321c3efbb5d7c5d3c0dbbcecbccf5fda3f (patch) | |
| tree | 360d2816c6a875d5920a1f26c01cc4de437c38b1 /lisp/term/sun.el | |
| parent | a038bd8769ec54ecf7d7241ccef8decc0dc712b5 (diff) | |
| download | emacs-98bd6b321c3efbb5d7c5d3c0dbbcecbccf5fda3f.tar.gz emacs-98bd6b321c3efbb5d7c5d3c0dbbcecbccf5fda3f.zip | |
Doc updates related to tty-setup-hook
* doc/emacs/custom.texi (Terminal Init):
Replace term-setup-hook with tty-setup-hook.
* doc/lispref/display.texi (Window Systems):
* doc/lispref/hooks.texi (Standard Hooks):
Replace term-setup-hook with tty-setup-hook.
* doc/lispref/os.texi (Startup Summary, Init File, Terminal-Specific):
Replace term-setup-hook with tty-setup-hook, and update.
* doc/misc/edt.texi (Quick start, Starting emulation):
* doc/misc/efaq.texi (Fullscreen mode on MS-Windows)
(Terminal setup code works after Emacs has begun): Update hook details.
* doc/misc/vip.texi (Loading VIP): Fix hook example.
* lisp/faces.el (tty-setup-hook, tty-run-terminal-initialization): Doc fixes.
* lisp/startup.el (term-setup-hook): Doc fix. Make obsolete.
* lisp/emulation/edt.el: Comment update.
* lisp/term/sun.el (sun-raw-prefix-hooks):
Use tty-setup-hook instead of term-setup-hook.
(terminal-init-sun): Construct message from bytecomp plist.
* lisp/term/wyse50.el (enable-arrow-keys): Doc fix.
* etc/refcards/vipcard.tex: Hook fix.
* etc/NEWS: Related edit.
Diffstat (limited to 'lisp/term/sun.el')
| -rw-r--r-- | lisp/term/sun.el | 7 |
1 files changed, 5 insertions, 2 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)) |