summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@stanford.edu>2017-12-12 00:00:33 -0800
committerGlenn Morris <rgm@stanford.edu>2017-12-12 00:00:33 -0800
commit8c5be9cbaabc02f7c78f2bafb68e2e4ab35e130f (patch)
tree1fe185c91790c07567f20bd0e6fd53dae00f5eae /lisp/subr.el
parentb585a2040148fb5d7f21ba8e51c731c594c64ef2 (diff)
downloademacs-8c5be9cbaabc02f7c78f2bafb68e2e4ab35e130f.tar.gz
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 'lisp/subr.el')
-rw-r--r--lisp/subr.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 7ec727ef19c..bf51c934cff 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1438,6 +1438,10 @@ be a list of the form returned by `event-start' and `event-end'."
(make-obsolete 'forward-point "use (+ (point) N) instead." "23.1")
(make-obsolete 'buffer-has-markers-at nil "24.3")
+(make-obsolete 'invocation-directory "use the variable of the same name."
+ "27.1")
+(make-obsolete 'invocation-name "use the variable of the same name." "27.1")
+
;; bug#23850
(make-obsolete 'string-to-unibyte "use `encode-coding-string'." "26.1")
(make-obsolete 'string-as-unibyte "use `encode-coding-string'." "26.1")