1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-04 20:27:45 +00:00

* lisp/faces.el (tty-setup-hook): Declare the hook.

This commit is contained in:
Stefan Monnier 2013-07-08 18:26:37 -04:00
parent 0b64b838a0
commit 7fd72e2c01
3 changed files with 8 additions and 0 deletions

View File

@ -540,6 +540,8 @@ file using `set-file-extended-attributes'.
* Lisp Changes in Emacs 24.4
** New hook `tty-setup-hook'.
+++
** New macro with-eval-after-load. Like eval-after-load, but better behaved.

View File

@ -1,5 +1,7 @@
2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
* faces.el (tty-setup-hook): Declare the hook.
* emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
and detect when a guard/pred depends on local vars (bug#14773).
(pcase--u1): Adjust caller.

View File

@ -2097,6 +2097,10 @@ the above example."
nil))))
type)
(defvar tty-setup-hook nil
"Hook run after running the initialization function of a new text terminal.
This can be used to fine tune the `input-decode-map', for example.")
(defun tty-run-terminal-initialization (frame &optional type)
"Run the special initialization code for the terminal type of FRAME.
The optional TYPE parameter may be used to override the autodetected