mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
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.
This commit is contained in:
parent
1fe40e0499
commit
a038bd8769
4 changed files with 10 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
|||
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")
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue