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 | |
| 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.
| -rw-r--r-- | doc/lispintro/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispintro/emacs-lisp-intro.texi | 2 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/misc/efaq-w32.texi | 2 |
4 files changed, 10 insertions, 2 deletions
diff --git a/doc/lispintro/ChangeLog b/doc/lispintro/ChangeLog index 6646637c642..6ca9eb4c93f 100644 --- a/doc/lispintro/ChangeLog +++ b/doc/lispintro/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-02-25 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * emacs-lisp-intro.texi (X11 Colors): Don't use setq with hooks. | ||
| 4 | |||
| 1 | 2014-02-06 Glenn Morris <rgm@gnu.org> | 5 | 2014-02-06 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * emacs-lisp-intro.texi (Recursive Patterns): | 7 | * emacs-lisp-intro.texi (Recursive Patterns): |
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index 74ea8e26e63..f181569ca75 100644 --- a/doc/lispintro/emacs-lisp-intro.texi +++ b/doc/lispintro/emacs-lisp-intro.texi | |||
| @@ -17755,7 +17755,7 @@ file that set values: | |||
| 17755 | 17755 | ||
| 17756 | @group | 17756 | @group |
| 17757 | ;; Set calendar highlighting colors | 17757 | ;; Set calendar highlighting colors |
| 17758 | (setq calendar-load-hook | 17758 | (add-hook 'calendar-load-hook |
| 17759 | (lambda () | 17759 | (lambda () |
| 17760 | (set-face-foreground 'diary-face "skyblue") | 17760 | (set-face-foreground 'diary-face "skyblue") |
| 17761 | (set-face-background 'holiday-face "slate blue") | 17761 | (set-face-background 'holiday-face "slate blue") |
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 |