diff options
| author | Stefan Monnier | 2013-07-08 18:26:37 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-07-08 18:26:37 -0400 |
| commit | 7fd72e2c01bb03aba7d37166a145b9d3c178fb35 (patch) | |
| tree | 848a29eeca155fbd3392ce6d958021cd5c0d86cb | |
| parent | 0b64b838a014b3abd1a35953d599ddd803f66482 (diff) | |
| download | emacs-7fd72e2c01bb03aba7d37166a145b9d3c178fb35.tar.gz emacs-7fd72e2c01bb03aba7d37166a145b9d3c178fb35.zip | |
* lisp/faces.el (tty-setup-hook): Declare the hook.
| -rw-r--r-- | etc/NEWS | 2 | ||||
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/faces.el | 4 |
3 files changed, 8 insertions, 0 deletions
| @@ -540,6 +540,8 @@ file using `set-file-extended-attributes'. | |||
| 540 | 540 | ||
| 541 | * Lisp Changes in Emacs 24.4 | 541 | * Lisp Changes in Emacs 24.4 |
| 542 | 542 | ||
| 543 | ** New hook `tty-setup-hook'. | ||
| 544 | |||
| 543 | +++ | 545 | +++ |
| 544 | ** New macro with-eval-after-load. Like eval-after-load, but better behaved. | 546 | ** New macro with-eval-after-load. Like eval-after-load, but better behaved. |
| 545 | 547 | ||
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 50044ffc970..c113aeac11b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * faces.el (tty-setup-hook): Declare the hook. | ||
| 4 | |||
| 3 | * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try | 5 | * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try |
| 4 | and detect when a guard/pred depends on local vars (bug#14773). | 6 | and detect when a guard/pred depends on local vars (bug#14773). |
| 5 | (pcase--u1): Adjust caller. | 7 | (pcase--u1): Adjust caller. |
diff --git a/lisp/faces.el b/lisp/faces.el index 0e776cad781..9a34aec2549 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -2097,6 +2097,10 @@ the above example." | |||
| 2097 | nil)))) | 2097 | nil)))) |
| 2098 | type) | 2098 | type) |
| 2099 | 2099 | ||
| 2100 | (defvar tty-setup-hook nil | ||
| 2101 | "Hook run after running the initialization function of a new text terminal. | ||
| 2102 | This can be used to fine tune the `input-decode-map', for example.") | ||
| 2103 | |||
| 2100 | (defun tty-run-terminal-initialization (frame &optional type) | 2104 | (defun tty-run-terminal-initialization (frame &optional type) |
| 2101 | "Run the special initialization code for the terminal type of FRAME. | 2105 | "Run the special initialization code for the terminal type of FRAME. |
| 2102 | The optional TYPE parameter may be used to override the autodetected | 2106 | The optional TYPE parameter may be used to override the autodetected |