diff options
| author | Luc Teirlinck | 2005-01-04 00:08:12 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-01-04 00:08:12 +0000 |
| commit | ed93087045317332eb41c976e4e799c11616ef57 (patch) | |
| tree | 785735975e3cad1c304c4b1c93d8094fd8a29e5e | |
| parent | 5aa971e3564cf8d6e695976d5a93b53caaedf118 (diff) | |
| download | emacs-ed93087045317332eb41c976e4e799c11616ef57.tar.gz emacs-ed93087045317332eb41c976e4e799c11616ef57.zip | |
(Saving Customizations): Emacs no longer loads `custom-file' after
.emacs in 21.4. (It never did in prior versions.) No longer mention
customizing through Custom.
| -rw-r--r-- | man/custom.texi | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/man/custom.texi b/man/custom.texi index 840711369ef..90cc01393a9 100644 --- a/man/custom.texi +++ b/man/custom.texi | |||
| @@ -487,21 +487,11 @@ set, saved or reset. | |||
| 487 | The customization buffer normally saves customizations in | 487 | The customization buffer normally saves customizations in |
| 488 | @file{~/.emacs}. If you wish, you can save customizations in another | 488 | @file{~/.emacs}. If you wish, you can save customizations in another |
| 489 | file instead. To make this work, your @file{~/.emacs} should set | 489 | file instead. To make this work, your @file{~/.emacs} should set |
| 490 | @code{custom-file} to the name of that file. If you are using Emacs | 490 | @code{custom-file} to the name of that file and load it. For example: |
| 491 | version 21.4 or later, Emacs loads the file right after your | ||
| 492 | @file{.emacs} if you did not load it already. In earlier versions, | ||
| 493 | you have to load the file in your @file{~/emacs}. If you customize | ||
| 494 | @code{custom-file} through the @samp{Customize} interface, you still | ||
| 495 | need to load it in your @file{.emacs}, but there is no need to set | ||
| 496 | it. For example: | ||
| 497 | 491 | ||
| 498 | @example | 492 | @example |
| 499 | ;; @r{if not set through the @samp{Customize} interface:} | 493 | (setq custom-file "~/.emacs-custom.el") |
| 500 | (setq custom-file "~/.emacs-custom") | 494 | (load custom-file) |
| 501 | |||
| 502 | ;; @r{in Emacs versions before 21.4 or if set through} | ||
| 503 | ;; @r{the @samp{Customize} interface.} | ||
| 504 | (load "~/.emacs-custom") | ||
| 505 | @end example | 495 | @end example |
| 506 | 496 | ||
| 507 | You can also use @code{custom-file} to specify different | 497 | You can also use @code{custom-file} to specify different |