1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

; Obsolete 'eshell/define'

* lisp/eshell/esh-var.el (eshell/define): Make obsolete, and explain
its current state.

* doc/misc/eshell.texi (Built-ins): Remove 'define'.
This commit is contained in:
Jim Porter 2022-09-28 09:34:38 -07:00
parent 2c82530f47
commit f1caa10f04
2 changed files with 5 additions and 5 deletions

View file

@ -302,6 +302,11 @@ This function is explicit for adding to `eshell-parse-argument-hook'."
(defun eshell/define (var-alias definition)
"Define a VAR-ALIAS using DEFINITION."
;; FIXME: This function doesn't work (it produces variable aliases
;; in a form not recognized by other parts of the code), and likely
;; hasn't worked since before its introduction into Emacs. It
;; should either be removed or fixed up.
(declare (obsolete nil "29.1"))
(if (not definition)
(setq eshell-variable-aliases-list
(delq (assoc var-alias eshell-variable-aliases-list)