emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r116550: In doc/, use add-hook rather than setq for


From: Glenn Morris
Subject: [Emacs-diffs] trunk r116550: In doc/, use add-hook rather than setq for hooks
Date: Tue, 25 Feb 2014 03:11:15 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116550
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Mon 2014-02-24 22:11:11 -0500
message:
  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.
modified:
  doc/lispintro/ChangeLog        changelog-20091113204419-o5vbwnq5f7feedwu-6128
  doc/lispintro/emacs-lisp-intro.texi 
emacslispintro.texi-20091113204419-o5vbwnq5f7feedwu-6143
  doc/misc/ChangeLog             changelog-20091113204419-o5vbwnq5f7feedwu-6331
  doc/misc/efaq-w32.texi         efaqw32.texi-20130827074758-tqx1zcy5tz9w2k3a-1
=== modified file 'doc/lispintro/ChangeLog'
--- a/doc/lispintro/ChangeLog   2014-02-13 02:19:48 +0000
+++ b/doc/lispintro/ChangeLog   2014-02-25 03:11:11 +0000
@@ -1,3 +1,7 @@
+2014-02-25  Glenn Morris  <address@hidden>
+
+       * emacs-lisp-intro.texi (X11 Colors): Don't use setq with hooks.
+
 2014-02-06  Glenn Morris  <address@hidden>
 
        * emacs-lisp-intro.texi (Recursive Patterns):

=== modified file 'doc/lispintro/emacs-lisp-intro.texi'
--- a/doc/lispintro/emacs-lisp-intro.texi       2014-02-06 02:26:57 +0000
+++ b/doc/lispintro/emacs-lisp-intro.texi       2014-02-25 03:11:11 +0000
@@ -17755,7 +17755,7 @@
 
 @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")

=== modified file 'doc/misc/ChangeLog'
--- a/doc/misc/ChangeLog        2014-02-24 07:12:42 +0000
+++ b/doc/misc/ChangeLog        2014-02-25 03:11:11 +0000
@@ -1,3 +1,7 @@
+2014-02-25  Glenn Morris  <address@hidden>
+
+       * efaq-w32.texi (Bash): Don't use setq with hooks.
+
 2014-02-24  Paul Eggert  <address@hidden>
 
        * texinfo.tex: Update from gnulib.

=== modified file 'doc/misc/efaq-w32.texi'
--- a/doc/misc/efaq-w32.texi    2014-02-16 14:52:43 +0000
+++ b/doc/misc/efaq-w32.texi    2014-02-25 03:11:11 +0000
@@ -1464,7 +1464,7 @@
   (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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]