diff options
| author | Lars Ingebrigtsen | 2019-06-20 01:45:56 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-06-20 12:51:39 +0200 |
| commit | 86c3d9280e13f72af1b353a473dea48b06cc8c6f (patch) | |
| tree | 9d1e06182726252d7a707c5563ed4a496c7726bf | |
| parent | 9f4cced5db01b256dfcb78a8fa90f388ec32a840 (diff) | |
| download | emacs-86c3d9280e13f72af1b353a473dea48b06cc8c6f.tar.gz emacs-86c3d9280e13f72af1b353a473dea48b06cc8c6f.zip | |
Remove XEmacs compat code from gravatar.el
* lisp/image/gravatar.el (gravatar-retrieve): Remove XEmacs compat code
| -rw-r--r-- | lisp/image/gravatar.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/image/gravatar.el b/lisp/image/gravatar.el index cf61119ab2e..91da840e3a4 100644 --- a/lisp/image/gravatar.el +++ b/lisp/image/gravatar.el | |||
| @@ -107,10 +107,8 @@ You can provide a list of argument to pass to CB in CBARGS." | |||
| 107 | (let ((args (list url | 107 | (let ((args (list url |
| 108 | 'gravatar-retrieved | 108 | 'gravatar-retrieved |
| 109 | (list cb (when cbargs cbargs))))) | 109 | (list cb (when cbargs cbargs))))) |
| 110 | (when (> (length (if (featurep 'xemacs) | 110 | (when (> (length (help-function-arglist 'url-retrieve)) |
| 111 | (cdr (split-string (function-arglist 'url-retrieve))) | 111 | 4) |
| 112 | (help-function-arglist 'url-retrieve))) | ||
| 113 | 4) | ||
| 114 | (setq args (nconc args (list t)))) | 112 | (setq args (nconc args (list t)))) |
| 115 | (apply #'url-retrieve args)) | 113 | (apply #'url-retrieve args)) |
| 116 | (apply cb | 114 | (apply cb |