summaryrefslogtreecommitdiff
path: root/lisp/cus-dep.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-04-24 21:05:18 +0000
committerRichard M. Stallman <rms@gnu.org>1998-04-24 21:05:18 +0000
commit363bea2966d5de84466703ffa332d4624999fba1 (patch)
tree89cae4139d77c51729c4cba4eb533fe301134c73 /lisp/cus-dep.el
parent100f148640955bd13ea61a10f511fbad795d4483 (diff)
downloademacs-363bea2966d5de84466703ffa332d4624999fba1.tar.gz
(custom-make-dependencies): Don't give up
on a whole file, the first time eval gets an error.
Diffstat (limited to 'lisp/cus-dep.el')
-rw-r--r--lisp/cus-dep.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/cus-dep.el b/lisp/cus-dep.el
index 286d4830fa8..006197aa3ab 100644
--- a/lisp/cus-dep.el
+++ b/lisp/cus-dep.el
@@ -56,8 +56,11 @@ Usage: emacs -batch -l ./cus-dep.el -f custom-make-dependencies DIRS"
nil t)
(beginning-of-line)
(let ((expr (read (current-buffer))))
- (eval expr)
- (put (nth 1 expr) 'custom-where name)))
+ (condition-case nil
+ (progn
+ (eval expr)
+ (put (nth 1 expr) 'custom-where name))
+ (error nil))))
(error nil)))))
(setq all-subdirs (cdr all-subdirs)))))
(message "Generating cus-load.el...")