summaryrefslogtreecommitdiff
path: root/doc/lispref/backups.texi
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2010-12-01 17:42:36 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2010-12-01 17:42:36 -0500
commit769741e3d1ba0f22dd4619058185f294b3c189ea (patch)
tree987b725a6da4a2637f856c9235226c71383944d9 /doc/lispref/backups.texi
parentbd794450721142e5774cb28ac534aa565d130001 (diff)
downloademacs-769741e3d1ba0f22dd4619058185f294b3c189ea.tar.gz
emacs-769741e3d1ba0f22dd4619058185f294b3c189ea.tar.bz2
emacs-769741e3d1ba0f22dd4619058185f294b3c189ea.zip
* 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.
Diffstat (limited to 'doc/lispref/backups.texi')
-rw-r--r--doc/lispref/backups.texi6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/lispref/backups.texi b/doc/lispref/backups.texi
index 7d6ae233f2b..349d0beb9c7 100644
--- a/doc/lispref/backups.texi
+++ b/doc/lispref/backups.texi
@@ -88,10 +88,8 @@ save disk space. (You would put this code in your init file.)
@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