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/faces.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/faces.el')
| -rw-r--r-- | lisp/faces.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index 3394c721f04..985355ade09 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -2107,12 +2107,16 @@ the above example." | |||
| 2107 | 2107 | ||
| 2108 | (defvar tty-setup-hook nil | 2108 | (defvar tty-setup-hook nil |
| 2109 | "Hook run after running the initialization function of a new text terminal. | 2109 | "Hook run after running the initialization function of a new text terminal. |
| 2110 | Specifically, `tty-run-terminal-initialization' runs this. | ||
| 2110 | This can be used to fine tune the `input-decode-map', for example.") | 2111 | This can be used to fine tune the `input-decode-map', for example.") |
| 2111 | 2112 | ||
| 2112 | (defun tty-run-terminal-initialization (frame &optional type) | 2113 | (defun tty-run-terminal-initialization (frame &optional type) |
| 2113 | "Run the special initialization code for the terminal type of FRAME. | 2114 | "Run the special initialization code for the terminal type of FRAME. |
| 2114 | The optional TYPE parameter may be used to override the autodetected | 2115 | The optional TYPE parameter may be used to override the autodetected |
| 2115 | terminal type to a different value." | 2116 | terminal type to a different value. As a final step, this runs the |
| 2117 | hook `tty-setup-hook'. | ||
| 2118 | |||
| 2119 | If you set `term-file-prefix' to nil, this function does nothing." | ||
| 2116 | (setq type (or type (tty-type frame))) | 2120 | (setq type (or type (tty-type frame))) |
| 2117 | ;; Load library for our terminal type. | 2121 | ;; Load library for our terminal type. |
| 2118 | ;; User init file can set term-file-prefix to nil to prevent this. | 2122 | ;; User init file can set term-file-prefix to nil to prevent this. |