diff options
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. |