Commit a038bd87 authored by Glenn Morris's avatar Glenn Morris
Browse files

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.
parent 1fe40e04
2014-02-25 Glenn Morris <rgm@gnu.org>
* emacs-lisp-intro.texi (X11 Colors): Don't use setq with hooks.
2014-02-06 Glenn Morris <rgm@gnu.org>
* emacs-lisp-intro.texi (Recursive Patterns):
......
......@@ -17755,7 +17755,7 @@ file that set values:
 
@group
;; Set calendar highlighting colors
(setq calendar-load-hook
(add-hook 'calendar-load-hook
(lambda ()
(set-face-foreground 'diary-face "skyblue")
(set-face-background 'holiday-face "slate blue")
......
2014-02-25 Glenn Morris <rgm@gnu.org>
* efaq-w32.texi (Bash): Don't use setq with hooks.
2014-02-24 Paul Eggert <eggert@cs.ucla.edu>
* texinfo.tex: Update from gnulib.
......
......@@ -1464,7 +1464,7 @@ default shell in Emacs, you can place the following in your init file:
(setq comint-eol-on-send t)
(setq w32-quote-process-args ?\")
(setq shell-mode-hook 'my-shell-setup)
(add-hook 'shell-mode-hook 'my-shell-setup)
@end example
If you find that you are having trouble with Emacs tracking drive
......
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