emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/w32-fns.el


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/lisp/w32-fns.el
Date: Sat, 24 Dec 2005 12:49:52 +0000

Index: emacs/lisp/w32-fns.el
diff -u emacs/lisp/w32-fns.el:1.59 emacs/lisp/w32-fns.el:1.60
--- emacs/lisp/w32-fns.el:1.59  Sat Sep 24 13:44:00 2005
+++ emacs/lisp/w32-fns.el       Sat Dec 24 12:49:52 2005
@@ -456,6 +456,18 @@
 (setq interprogram-cut-function 'x-select-text)
 (setq interprogram-paste-function 'x-get-selection-value)
 
+
+;;;; Support for build process
+(defun w32-batch-update-autoloads ()
+  "Like `batch-update-autoloads', but takes the name of the autoloads file
+from the command line.
+
+This is required because some Windows build environments, such as MSYS,
+munge command-line arguments that include file names to a horrible mess
+that Emacs is unable to cope with."
+  (let ((generated-autoload-file
+        (expand-file-name (pop command-line-args-left))))
+    (batch-update-autoloads)))
 
 ;;; arch-tag: c49b48cc-0f4f-454f-a274-c2dc34815e14
 ;;; w32-fns.el ends here




reply via email to

[Prev in Thread] Current Thread [Next in Thread]