diff options
author | Andrea Corallo <akrl@sdf.org> | 2021-02-10 21:56:55 +0100 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2021-02-10 21:56:55 +0100 |
commit | 2fcb85c3e780f1f2871ce0f300cfaffce9836eb0 (patch) | |
tree | a8857ccad8bff12080062a3edaad1a55a3eb8171 /lisp/gnus/mm-url.el | |
parent | 1f626e9662d8120acd5a937f847123cc2b8c6e31 (diff) | |
parent | 6bfdfeed36fab4680c8db90c22da8f6611694186 (diff) | |
download | emacs-2fcb85c3e780f1f2871ce0f300cfaffce9836eb0.tar.gz emacs-2fcb85c3e780f1f2871ce0f300cfaffce9836eb0.tar.bz2 emacs-2fcb85c3e780f1f2871ce0f300cfaffce9836eb0.zip |
Merge remote-tracking branch 'savannah/master' into HEAD
Diffstat (limited to 'lisp/gnus/mm-url.el')
-rw-r--r-- | lisp/gnus/mm-url.el | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/lisp/gnus/mm-url.el b/lisp/gnus/mm-url.el index 412a4744125..3d58738d637 100644 --- a/lisp/gnus/mm-url.el +++ b/lisp/gnus/mm-url.el @@ -1,4 +1,4 @@ -;;; mm-url.el --- a wrapper of url functions/commands for Gnus +;;; mm-url.el --- a wrapper of url functions/commands for Gnus -*- lexical-binding: t; -*- ;; Copyright (C) 2001-2021 Free Software Foundation, Inc. @@ -44,8 +44,7 @@ (defcustom mm-url-use-external nil "If non-nil, use external grab program `mm-url-program'." :version "22.1" - :type 'boolean - :group 'mm-url) + :type 'boolean) (defvar mm-url-predefined-programs '((wget "wget" "--user-agent=mm-url" "-q" "-O" "-") @@ -68,14 +67,12 @@ Likely values are `wget', `w3m', `lynx' and `curl'." (symbol :tag "w3m" w3m) (symbol :tag "lynx" lynx) (symbol :tag "curl" curl) - (string :tag "other")) - :group 'mm-url) + (string :tag "other"))) (defcustom mm-url-arguments nil "The arguments for `mm-url-program'." :version "22.1" - :type '(repeat string) - :group 'mm-url) + :type '(repeat string)) ;;; Internal variables @@ -299,7 +296,7 @@ If `mm-url-use-external' is non-nil, use `mm-url-program'." args (append (cdr item) (list url)))) (setq program mm-url-program args (append mm-url-arguments (list url)))) - (unless (eq 0 (apply 'call-process program nil t nil args)) + (unless (eq 0 (apply #'call-process program nil t nil args)) (error "Couldn't fetch %s" url)))) (defvar mm-url-timeout 30 |