Commit d647b7c4 authored by Glenn Morris's avatar Glenn Morris
Browse files

cus-dep fix for build failure first occurring with 2011-06-13T08:21:09Z!

The symptom was `make custom-dep' failing with "Unknown terminal type".
This is caused by `display-buffer' trying to pop-up a frame in batch mode.
I think this cus-dep change may be just papering over the immediate
manifestation of the underlying problem.

* lisp/cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
parent 357f93d2
2011-06-13 Glenn Morris <>
* cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
2011-06-13 Martin Rudalics <>
* help.el (help-window): Remove variable.
......@@ -42,9 +42,12 @@ ldefs-boot\\|cus-load\\|finder-inf\\|esh-groups\\|subdirs\\)\\.el$\\)"
(defun custom-make-dependencies ()
"Batch function to extract custom dependencies from .el files.
Usage: emacs -batch -l ./cus-dep.el -f custom-make-dependencies DIRS"
(let ((enable-local-eval nil))
(let ((enable-local-eval nil)
(dolist (subdir command-line-args-left)
;; Use up command-line-args-left else Emacs can try to open
;; the args as directories after we are done.
(while (setq subdir (pop command-line-args-left))
(message "Directory %s" subdir)
(let ((files (directory-files subdir nil "\\`[^=].*\\.el\\'"))
(default-directory (expand-file-name subdir))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment