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 /doc/misc/efaq.texi | |
| 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 'doc/misc/efaq.texi')
| -rw-r--r-- | doc/misc/efaq.texi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi index a13d3df43f1..ca9e24fbeaa 100644 --- a/doc/misc/efaq.texi +++ b/doc/misc/efaq.texi | |||
| @@ -2684,8 +2684,8 @@ Use the function @code{w32-send-sys-command}. For example, you can | |||
| 2684 | put the following in your @file{.emacs} file: | 2684 | put the following in your @file{.emacs} file: |
| 2685 | 2685 | ||
| 2686 | @lisp | 2686 | @lisp |
| 2687 | (add-hook 'term-setup-hook | 2687 | (add-hook 'emacs-startup-hook |
| 2688 | #'(lambda () (w32-send-sys-command ?\xF030))) | 2688 | (lambda () (w32-send-sys-command ?\xF030))) |
| 2689 | @end lisp | 2689 | @end lisp |
| 2690 | 2690 | ||
| 2691 | To avoid the slightly distracting visual effect of Emacs starting with | 2691 | To avoid the slightly distracting visual effect of Emacs starting with |
| @@ -3594,12 +3594,12 @@ been executed but is not, then you will experience this problem (this | |||
| 3594 | code/file execution order is not enforced after startup). | 3594 | code/file execution order is not enforced after startup). |
| 3595 | 3595 | ||
| 3596 | To postpone the execution of Emacs Lisp code until after terminal or | 3596 | To postpone the execution of Emacs Lisp code until after terminal or |
| 3597 | window-system setup, treat the code as a @dfn{lambda list} and set the | 3597 | window-system setup, treat the code as a @dfn{lambda list} and add it to |
| 3598 | value of either the @code{term-setup-hook} or @code{window-setup-hook} | 3598 | @code{emacs-startup-hook} (or @code{tty-setup-hook} in Emacs 24.4 and |
| 3599 | variable to this lambda function. For example, | 3599 | newer). For example, |
| 3600 | 3600 | ||
| 3601 | @lisp | 3601 | @lisp |
| 3602 | (add-hook 'term-setup-hook | 3602 | (add-hook 'emacs-startup-hook |
| 3603 | (lambda () | 3603 | (lambda () |
| 3604 | (when (string-match "\\`vt220" (or (getenv "TERM") "")) | 3604 | (when (string-match "\\`vt220" (or (getenv "TERM") "")) |
| 3605 | ;; Make vt220's "Do" key behave like M-x: | 3605 | ;; Make vt220's "Do" key behave like M-x: |