Mercurial > hg > xemacs-beta
diff lisp/make-docfile.el @ 5098:e402e3506a53
Use #'subseq, not #'substring, in native-windows-specific code, make-docfile.el
2010-03-04 Aidan Kehoe <kehoea@parhasard.net>
* make-docfile.el (process-args):
Use #'subseq here, not #'substring, fixing the native Windows
build. Thank you for the error report, Vin!
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Thu, 04 Mar 2010 16:47:16 +0000 |
parents | 788c38f20376 |
children | 308d34e9f07d |
line wrap: on
line diff
--- 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)