aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGlenn Morris2017-12-12 00:00:33 -0800
committerGlenn Morris2017-12-12 00:00:33 -0800
commit8c5be9cbaabc02f7c78f2bafb68e2e4ab35e130f (patch)
tree1fe185c91790c07567f20bd0e6fd53dae00f5eae /test
parentb585a2040148fb5d7f21ba8e51c731c594c64ef2 (diff)
downloademacs-8c5be9cbaabc02f7c78f2bafb68e2e4ab35e130f.tar.gz
emacs-8c5be9cbaabc02f7c78f2bafb68e2e4ab35e130f.zip
Make functions invocation-directory and invocation-name obsolete
* lisp/subr.el (invocation-directory, invocation-name): Mark the function versions as obsolete. (Bug#10476) * lisp/startup.el (tty-handle-args): * lisp/term/common-win.el (x-handle-xrm-switch, x-handle-name-switch): * lisp/term/ns-win.el (top-level): * lisp/term/pc-win.el (top-level): * lisp/term/w32-win.el (window-system-initialization): * lisp/term/x-win.el (top-level, x-handle-parent-id) (x-handle-smid, window-system-initialization): * test/lisp/htmlfontify-tests.el (htmlfontify-bug25468): Use invocation-directory and invocation-name as variables.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/htmlfontify-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/htmlfontify-tests.el b/test/lisp/htmlfontify-tests.el
index 0ad775d74a0..614f2a18d8c 100644
--- a/test/lisp/htmlfontify-tests.el
+++ b/test/lisp/htmlfontify-tests.el
@@ -36,7 +36,7 @@ available (Bug#25468)."
36 (should (equal (let ((process-environment 36 (should (equal (let ((process-environment
37 (cons "SHELL=/does/not/exist" process-environment))) 37 (cons "SHELL=/does/not/exist" process-environment)))
38 (call-process 38 (call-process
39 (expand-file-name (invocation-name) (invocation-directory)) 39 (expand-file-name invocation-name invocation-directory)
40 nil nil nil 40 nil nil nil
41 "--quick" "--batch" 41 "--quick" "--batch"
42 (concat "--load=" (locate-library "htmlfontify")))) 42 (concat "--load=" (locate-library "htmlfontify"))))