emacs-devel
[Top][All Lists]
Advanced

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

Re: package-archives terminating slash


From: Robert Pluim
Subject: Re: package-archives terminating slash
Date: Thu, 10 Feb 2022 14:25:51 +0100

>>>>> On Wed, 09 Feb 2022 18:16:11 +0100, Andreas Schwab 
>>>>> <schwab@linux-m68k.org> said:
    >> (cl-defun package--with-response-buffer-1 (url body &key async file 
error-function noerror &allow-other-keys)
    >> (if (string-match-p "\\`https?:" url)
    >> -        (let ((url (concat url file)))
    >> +        (let ((url (file-name-concat url file)))

    Andreas> url-expand-file-name perhaps?

Yes, thatʼs a much better function to use.

Robert
-- 



reply via email to

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