From 532472220268fb9852b65d60503a446c9e5e57ab Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 7 Mar 2022 05:58:39 +0100 Subject: [PATCH] Fix typo in previous browse-url-file-url change * lisp/net/browse-url.el (browse-url-file-url): Fix typo in previous change. --- lisp/net/browse-url.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index ccb4e12a9f1..17169fec0f0 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el @@ -724,7 +724,7 @@ Use variable `browse-url-filename-alist' to map filenames to URLs." ;; reasons. (seq-find (lambda (match) (and (string-match-p (car match) file) - (not (string-match "\\`file:" (cadr match))))) + (not (string-match "\\`file:" (cdr match))))) browse-url-filename-alist)) (setq file (browse-url-url-encode-chars file "[*\"()',=;?% ]")) ;; Encode all other file names properly. -- 2.39.2