From: Lars Ingebrigtsen Date: Wed, 12 Aug 2020 17:38:09 +0000 (+0200) Subject: Remove some compat code from url-handlers.el X-Git-Tag: emacs-28.0.90~6640 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b02bd6d0bb752d518ade9c1e78d02a7f5ed942bd;p=emacs.git Remove some compat code from url-handlers.el * lisp/url/url-handlers.el (url-insert-buffer-contents): Remove check for function that's always defined in Emacs. --- diff --git a/lisp/url/url-handlers.el b/lisp/url/url-handlers.el index 331152808fd..1c3607bb661 100644 --- a/lisp/url/url-handlers.el +++ b/lisp/url/url-handlers.el @@ -339,8 +339,7 @@ if it had been inserted from a file named URL." (decode-coding-inserted-region (point-min) (point) url visit beg end replace)) (let ((inserted (car size-and-charset))) - (list url (or (and (fboundp 'after-insert-file-set-coding) - (after-insert-file-set-coding inserted visit)) + (list url (or (after-insert-file-set-coding inserted visit) inserted)))))) ;;;###autoload