Commit 30e3e58c authored by Glenn Morris's avatar Glenn Morris

Merge from origin/emacs-26

7a8f22b0 * test/lisp/url/url-file-tests.el (url-file): Use file:///, n...
0c5f6c6c Fix doc of srecompile-compile-split-code (Bug#36200)
parents 64366826 7a8f22b0
......@@ -385,8 +385,7 @@ ESCAPE_START and ESCAPE_END are regexps that indicate the beginning
escape character, and end escape character pattern for expandable
macro names.
Optional argument END-NAME specifies the name of a token upon which
parsing should stop.
If END-NAME is specified, and the input string"
parsing should stop."
(let* ((what str)
(end-token nil)
(comp nil)
......@@ -33,11 +33,11 @@
"Directory for url-file test files.")
(ert-deftest url-file ()
"Test reading file via file:// URL."
"Test reading file via file:/// URL."
(let ((file (expand-file-name "file.txt" url-file-tests-data-directory)))
(should (equal
(url-file (url-generic-parse-url (concat "file://" file))
(url-file (url-generic-parse-url (concat "file:///" file))
#'ignore nil)
(prog1 (buffer-substring (point) (point-max))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment