* lisp/dgnushack.el: Make sure `dolist' is available; require
`advice' before `path-util'; revoke the bogus change of 2003-04-17
(removing function bindings for XEmacs).
+ (dgnushack-remove-extra-files-in-package): Clear the value for
+ `command-line-args-left'.
+ (dgnushack-install-package-manifest): Ditto.
* texi/infohack.el: Load dgnushack.el and ptexinfmt.el first.
"/")
;; PACKAGEDIR
(car command-line-args-left))))
+ (setq command-line-args-left nil)
(when (file-directory-p lisp-dir)
(let (files)
(dolist (file dgnushack-exporting-files)
(defun dgnushack-install-package-manifest ()
"Install MANIFEST file as an XEmacs package."
- (let* ((package-dir (car command-line-args-left))
- (product-name (cadr command-line-args-left))
+ (let* ((package-dir (pop command-line-args-left))
+ (product-name (pop command-line-args-left))
(pkginfo-dir (expand-file-name "pkginfo" package-dir))
(name (expand-file-name (concat "MANIFEST." product-name)
pkginfo-dir))