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.
This commit is contained in:
Lars Ingebrigtsen 2020-08-12 19:38:09 +02:00
parent c0c24267b3
commit b02bd6d0bb

View file

@ -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