Mercurial > emacs
diff doc/lispref/backups.texi @ 111887:0eb10986b8f2
* doc/lispref/backups.texi (Making Backups):
* doc/lispref/modes.texi (Example Major Modes): Use recommended coding style.
(Major Mode Basics, Derived Modes): Encourge more strongly use of
define-derived-mode. Mention completion-at-point-functions.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 01 Dec 2010 17:42:36 -0500 |
parents | 1d1d5d9bd884 |
children | 376148b31b5e |
line wrap: on
line diff
--- a/doc/lispref/backups.texi Wed Dec 01 17:34:09 2010 -0500 +++ b/doc/lispref/backups.texi Wed Dec 01 17:42:36 2010 -0500 @@ -88,10 +88,8 @@ @smallexample @group (add-hook 'rmail-mode-hook - (function (lambda () - (make-local-variable - 'make-backup-files) - (setq make-backup-files nil)))) + (lambda () + (set (make-local-variable 'make-backup-files) nil))) @end group @end smallexample @end defopt