Commit 7fd72e2c authored by Stefan Monnier's avatar Stefan Monnier
Browse files

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

parent 0b64b838
...@@ -540,6 +540,8 @@ file using `set-file-extended-attributes'. ...@@ -540,6 +540,8 @@ file using `set-file-extended-attributes'.
* Lisp Changes in Emacs 24.4 * Lisp Changes in Emacs 24.4
** New hook `tty-setup-hook'.
+++ +++
** New macro with-eval-after-load. Like eval-after-load, but better behaved. ** New macro with-eval-after-load. Like eval-after-load, but better behaved.
......
2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca> 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 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
and detect when a guard/pred depends on local vars (bug#14773). and detect when a guard/pred depends on local vars (bug#14773).
(pcase--u1): Adjust caller. (pcase--u1): Adjust caller.
......
...@@ -2097,6 +2097,10 @@ the above example." ...@@ -2097,6 +2097,10 @@ the above example."
nil)))) nil))))
type) 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) (defun tty-run-terminal-initialization (frame &optional type)
"Run the special initialization code for the terminal type of FRAME. "Run the special initialization code for the terminal type of FRAME.
The optional TYPE parameter may be used to override the autodetected The optional TYPE parameter may be used to override the autodetected
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment