From 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 14 Aug 2025 22:58:58 -0500 Subject: removing all downloaded devdocs files --- devdocs/elisp/global-variables.html | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 devdocs/elisp/global-variables.html (limited to 'devdocs/elisp/global-variables.html') diff --git a/devdocs/elisp/global-variables.html b/devdocs/elisp/global-variables.html deleted file mode 100644 index 69a03e86..00000000 --- a/devdocs/elisp/global-variables.html +++ /dev/null @@ -1,19 +0,0 @@ -

Global Variables

The simplest way to use a variable is globally. This means that the variable has just one value at a time, and this value is in effect (at least for the moment) throughout the Lisp system. The value remains in effect until you specify a new one. When a new value replaces the old one, no trace of the old value remains in the variable.

You specify a value for a symbol with setq. For example,

(setq x '(a b))
-
-

gives the variable x the value (a b). Note that setq is a special form (see Special Forms); it does not evaluate its first argument, the name of the variable, but it does evaluate the second argument, the new value.

Once the variable has a value, you can refer to it by using the symbol itself as an expression. Thus,

x ⇒ (a b)
-
-

assuming the setq form shown above has already been executed.

If you do set the same variable again, the new value replaces the old one:

x
-     ⇒ (a b)
-
-
(setq x 4)
-     ⇒ 4
-
-
x
-     ⇒ 4
-
-
-

- Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
- https://www.gnu.org/software/emacs/manual/html_node/elisp/Global-Variables.html -

-
-- cgit v1.2.3