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 | |
| 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')
| -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-? |