diff options
| author | Glenn Morris | 2014-02-24 22:11:11 -0500 |
|---|---|---|
| committer | Glenn Morris | 2014-02-24 22:11:11 -0500 |
| commit | a038bd8769ec54ecf7d7241ccef8decc0dc712b5 (patch) | |
| tree | 77b903f47447276b160e2a0e3c2dfed4aa4b36b6 /doc/misc | |
| parent | 1fe40e04993ec27797d1474c1e86223a0e47c6d5 (diff) | |
| download | emacs-a038bd8769ec54ecf7d7241ccef8decc0dc712b5.tar.gz emacs-a038bd8769ec54ecf7d7241ccef8decc0dc712b5.zip | |
In doc/, use add-hook rather than setq for hooks
* doc/lispintro/emacs-lisp-intro.texi (X11 Colors):
* doc/misc/efaq-w32.texi (Bash): Don't use setq with hooks.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/misc/efaq-w32.texi | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index af7716e358d..39ae01e86ec 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-02-25 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * efaq-w32.texi (Bash): Don't use setq with hooks. | ||
| 4 | |||
| 1 | 2014-02-24 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2014-02-24 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | * texinfo.tex: Update from gnulib. | 7 | * texinfo.tex: Update from gnulib. |
diff --git a/doc/misc/efaq-w32.texi b/doc/misc/efaq-w32.texi index 17f1af61200..314aa8db36e 100644 --- a/doc/misc/efaq-w32.texi +++ b/doc/misc/efaq-w32.texi | |||
| @@ -1464,7 +1464,7 @@ default shell in Emacs, you can place the following in your init file: | |||
| 1464 | (setq comint-eol-on-send t) | 1464 | (setq comint-eol-on-send t) |
| 1465 | (setq w32-quote-process-args ?\") | 1465 | (setq w32-quote-process-args ?\") |
| 1466 | 1466 | ||
| 1467 | (setq shell-mode-hook 'my-shell-setup) | 1467 | (add-hook 'shell-mode-hook 'my-shell-setup) |
| 1468 | @end example | 1468 | @end example |
| 1469 | 1469 | ||
| 1470 | If you find that you are having trouble with Emacs tracking drive | 1470 | If you find that you are having trouble with Emacs tracking drive |