# HG changeset patch # User Aidan Kehoe # Date 1267721236 0 # Node ID e402e3506a53f39164291018ffb3a7cb73cc5684 # Parent 4a6b680a95772101b614dd5c4690a00d7331619a Use #'subseq, not #'substring, in native-windows-specific code, make-docfile.el 2010-03-04 Aidan Kehoe * make-docfile.el (process-args): Use #'subseq here, not #'substring, fixing the native Windows build. Thank you for the error report, Vin! diff -r 4a6b680a9577 -r e402e3506a53 lisp/ChangeLog --- a/lisp/ChangeLog Thu Mar 04 07:26:05 2010 -0600 +++ b/lisp/ChangeLog Thu Mar 04 16:47:16 2010 +0000 @@ -1,3 +1,9 @@ +2010-03-04 Aidan Kehoe + + * make-docfile.el (process-args): + Use #'subseq here, not #'substring, fixing the native Windows + build. Thank you for the error report, Vin! + 2010-03-03 Aidan Kehoe Move byte code #o117 to #'subseq, not #'substring. diff -r 4a6b680a9577 -r e402e3506a53 lisp/make-docfile.el --- a/lisp/make-docfile.el Thu Mar 04 07:26:05 2010 -0600 +++ b/lisp/make-docfile.el Thu Mar 04 16:47:16 2010 +0000 @@ -92,7 +92,7 @@ ;; no generate-new-buffer so use its implementation. (let ((buf (get-buffer-create (generate-new-buffer-name "foo")))) (set-buffer buf) - (insert-file-contents-internal (substring arg 1)) + (insert-file-contents-internal (subseq arg 1)) ;; now majorly grind up the response file. ;; backslashes get doubled, quotes around strings, ;; get rid of pesky CR's and NL's, and put parens around @@ -123,8 +123,7 @@ (concat (file-name-nondirectory ;; no match-string so use its implementation. - (substring arg (match-beginning 1) - (match-end 1))) + (subseq arg (match-beginning 1) (match-end 1))) ".c") source-src))) (if (and (null docfile-out-of-date)