Function: mh-write-file-functions
mh-write-file-functions is a macro defined in mh-compat.el.gz.
Signature
(mh-write-file-functions)
Documentation
Return write-file-functions if it exists.
Otherwise return local-write-file-hooks.
This macro exists purely for compatibility. The former symbol is used
in Emacs 22 onward while the latter is used in previous versions and
XEmacs.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-compat.el.gz
(defmacro mh-write-file-functions ()
"Return `write-file-functions' if it exists.
Otherwise return `local-write-file-hooks'.
This macro exists purely for compatibility. The former symbol is used
in Emacs 22 onward while the latter is used in previous versions and
XEmacs."
(if (boundp 'write-file-functions)
''write-file-functions ;Emacs 22 on
''local-write-file-hooks)) ;XEmacs