diff options
author | Stefan Kangas <stefan@marxist.se> | 2020-12-06 08:50:51 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2020-12-06 08:51:23 +0100 |
commit | 7c113c344e19faece88e6be1bf55376d6f35cfb2 (patch) | |
tree | 41c96ef69eb137f0dae90dafb9847a38fb13c12e /lisp/url/url-util.el | |
parent | fc54c835181eb88a748d2fd49b7a4c78b9fe82ee (diff) | |
download | emacs-7c113c344e19faece88e6be1bf55376d6f35cfb2.tar.gz emacs-7c113c344e19faece88e6be1bf55376d6f35cfb2.tar.bz2 emacs-7c113c344e19faece88e6be1bf55376d6f35cfb2.zip |
Prefer setq-local in url/*.el
* lisp/url/url-cookie.el (url-cookie-write-file):
* lisp/url/url-http.el (url-http-parse-headers):
* lisp/url/url-util.el (url-extract-mime-headers): Prefer setq-local.
Diffstat (limited to 'lisp/url/url-util.el')
-rw-r--r-- | lisp/url/url-util.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/url/url-util.el b/lisp/url/url-util.el index 0a7e7e205e0..bd9543bbe75 100644 --- a/lisp/url/url-util.el +++ b/lisp/url/url-util.el @@ -574,8 +574,8 @@ Has a preference for looking backward when not directly on a symbol." (save-excursion (goto-char (point-min)) (unless url-current-mime-headers - (set (make-local-variable 'url-current-mime-headers) - (mail-header-extract))))) + (setq-local url-current-mime-headers + (mail-header-extract))))) (defun url-make-private-file (file) "Make FILE only readable and writable by the current user. |