comparison man/custom.texi @ 28344:54fda0e8528a

Weed out redundant uses of `function'
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 27 Mar 2000 04:29:55 +0000
parents 1592a7956ed3
children 203ba1f77b7b
comparison
equal deleted inserted replaced
28343:4ecf90324237 28344:54fda0e8528a
732 (substatement-open . 0))))) 732 (substatement-open . 0)))))
733 @end group 733 @end group
734 734
735 @group 735 @group
736 (add-hook 'c-mode-common-hook 736 (add-hook 'c-mode-common-hook
737 (function (lambda () 737 (lambda ()
738 (c-add-style "my-style" my-c-style t)))) 738 (c-add-style "my-style" my-c-style t)))
739 @end group 739 @end group
740 @end example 740 @end example
741 741
742 It is best to design your hook functions so that the order in which 742 It is best to design your hook functions so that the order in which
743 they are executed does not matter. Any dependence on the order is 743 they are executed does not matter. Any dependence on the order is