mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 19:50:24 +02:00
elisp variable aliases
* module/language/elisp/boot.el (defvaralias): New function.
This commit is contained in:
parent
85bc6238bf
commit
14b288ceb9
1 changed files with 8 additions and 0 deletions
|
@ -139,6 +139,14 @@
|
|||
(fset 'boundp (@ (language elisp runtime) symbol-bound?))
|
||||
(fset 'fboundp (@ (language elisp runtime) symbol-fbound?))
|
||||
|
||||
(defun defvaralias (new-alias base-variable &optional docstring)
|
||||
(let ((fluid (funcall (@ (language elisp runtime) symbol-fluid)
|
||||
base-variable)))
|
||||
(funcall (@ (language elisp runtime) set-symbol-fluid!)
|
||||
new-alias
|
||||
fluid)
|
||||
base-variable))
|
||||
|
||||
;;; Numerical type predicates
|
||||
|
||||
(defun floatp (object)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue