* gnus-art.el (article-display-x-face): Replace process-kill-without-query by
gnus-set-process-query-on-exit-flag.
* gnus-util.el (gnus-set-process-query-on-exit-flag): New function.
* html2text.el (html2text-fix-paragraphs): Use `while - re-search' loop instead
of replace-regexp.
* imap.el (imap-ssl-open): Use set-process-query-on-exit-flag instead of
process-kill-without-query if it is available.
* mm-util.el (mm-insert-file-contents): Bind find-file-hook instead of
find-file-hooks if it is available.
* mml1991.el: Bind pgg-default-user-id when compiling.
* mml2015.el: Bind pgg-default-user-id when compiling.
* nndraft.el (nndraft-request-associate-buffer): Use write-contents-functions
instead of write-contents-hooks if it is available.
* nnheader.el (nnheader-find-file-noselect): Bind find-file-hook instead of
find-file-hooks if it is available.
* nntp.el (nntp-open-connection): Replace process-kill-without-query by
gnus-set-process-query-on-exit-flag.
(nntp-open-ssl-stream): Ditto.
(nntp-open-tls-stream): Ditto.
* starttls.el (starttls-set-process-query-on-exit-flag): New function.
(starttls-open-stream-gnutls): Use it instead of process-kill-without-query.
(starttls-open-stream): Ditto.
12 files changed: