diff options
| author | Richard M. Stallman | 2002-09-21 20:00:30 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-09-21 20:00:30 +0000 |
| commit | 4e189812e9890ff3aa7e413d1be896227d246ce1 (patch) | |
| tree | 69e116913660cfe6355f7842aac6a9e407039ebd | |
| parent | 6da43544b7dec950f301216c66a6aa516a49b70b (diff) | |
| download | emacs-4e189812e9890ff3aa7e413d1be896227d246ce1.tar.gz emacs-4e189812e9890ff3aa7e413d1be896227d246ce1.zip | |
(custom-make-dependencies): Bind to t around evaluating the def-form.
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/cus-dep.el | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e139cf6113e..0aca5ec5728 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2002-09-21 Richard M. Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * cus-dep.el (custom-make-dependencies): Bind to t | ||
| 4 | around evaluating the def-form. | ||
| 5 | |||
| 6 | * custom.el (custom-dont-initialize): New variable. | ||
| 7 | (custom-declare-variable): Don't init the variable | ||
| 8 | if custom-dont-initialize is non-nil. | ||
| 9 | |||
| 1 | 2002-09-21 John Paul Wallington <jpw@shootybangbang.com> | 10 | 2002-09-21 John Paul Wallington <jpw@shootybangbang.com> |
| 2 | 11 | ||
| 3 | * net/eudc.el (eudc-install-menu): Use `define-key' and | 12 | * net/eudc.el (eudc-install-menu): Use `define-key' and |
diff --git a/lisp/cus-dep.el b/lisp/cus-dep.el index 19ae727b2dd..d7fd848a9ab 100644 --- a/lisp/cus-dep.el +++ b/lisp/cus-dep.el | |||
| @@ -66,7 +66,7 @@ Usage: emacs -batch -l ./cus-dep.el -f custom-make-dependencies DIRS" | |||
| 66 | (setq is-autoloaded t))) | 66 | (setq is-autoloaded t))) |
| 67 | (let ((expr (read (current-buffer)))) | 67 | (let ((expr (read (current-buffer)))) |
| 68 | (condition-case nil | 68 | (condition-case nil |
| 69 | (progn | 69 | (let ((custom-dont-initialize t)) |
| 70 | (eval expr) | 70 | (eval expr) |
| 71 | (put (nth 1 expr) 'custom-autoloaded is-autoloaded) | 71 | (put (nth 1 expr) 'custom-autoloaded is-autoloaded) |
| 72 | (put (nth 1 expr) 'custom-where name)) | 72 | (put (nth 1 expr) 'custom-where name)) |