Remove XEmacs compat code from gravatar.el

* lisp/image/gravatar.el (gravatar-retrieve): Remove XEmacs compat code
This commit is contained in:
Lars Ingebrigtsen 2019-06-20 01:45:56 +02:00
parent 9f4cced5db
commit 86c3d9280e

View file

@ -107,10 +107,8 @@ You can provide a list of argument to pass to CB in CBARGS."
(let ((args (list url
'gravatar-retrieved
(list cb (when cbargs cbargs)))))
(when (> (length (if (featurep 'xemacs)
(cdr (split-string (function-arglist 'url-retrieve)))
(help-function-arglist 'url-retrieve)))
4)
(when (> (length (help-function-arglist 'url-retrieve))
4)
(setq args (nconc args (list t))))
(apply #'url-retrieve args))
(apply cb