Add compatibility layer for `temporary-file-directory-function'
commitc2664aaab68759ebd8cfb615c1f2fd73f065caa7
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 10 Aug 2016 10:10:26 +0000 (10 12:10 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 10 Aug 2016 10:10:26 +0000 (10 12:10 +0200)
treef352f5cad05914e9329f04a21cdc784ed9c525ed
parent5115743b672ed71d704a3afaac8b9bb2e4f09dd7
Add compatibility layer for `temporary-file-directory-function'

* lisp/net/tramp-compat.el
(tramp-compat-temporary-file-directory-function): New defalias.

* lisp/net/tramp.el (tramp-handle-make-nearby-temp-file): Use it.

* test/lisp/net/tramp-tests.el (tramp-test32-make-nearby-temp-file):
Skip for older Emacs versions.
lisp/net/tramp-compat.el
lisp/net/tramp.el
test/lisp/net/tramp-tests.el