unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Changing value of a defvar in a function
@ 2022-01-21 15:16 fatiparty--- via Users list for the GNU Emacs text editor
  2022-01-21 15:41 ` Emanuel Berg via Users list for the GNU Emacs text editor
  2022-01-21 16:02 ` Eduardo Ochs
  0 siblings, 2 replies; 3+ messages in thread
From: fatiparty--- via Users list for the GNU Emacs text editor @ 2022-01-21 15:16 UTC (permalink / raw)
  To: Help Gnu Emacs


After defining a defvar, can I then change the value is some function I write? 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Changing value of a defvar in a function
  2022-01-21 15:16 Changing value of a defvar in a function fatiparty--- via Users list for the GNU Emacs text editor
@ 2022-01-21 15:41 ` Emanuel Berg via Users list for the GNU Emacs text editor
  2022-01-21 16:02 ` Eduardo Ochs
  1 sibling, 0 replies; 3+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2022-01-21 15:41 UTC (permalink / raw)
  To: help-gnu-emacs

fatiparty--- via Users list for the GNU Emacs text editor wrote:

> After defining a defvar, can I then change the value is some
> function I write?

Hahaha :)

-- 
underground experts united
https://dataswamp.org/~incal




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Changing value of a defvar in a function
  2022-01-21 15:16 Changing value of a defvar in a function fatiparty--- via Users list for the GNU Emacs text editor
  2022-01-21 15:41 ` Emanuel Berg via Users list for the GNU Emacs text editor
@ 2022-01-21 16:02 ` Eduardo Ochs
  1 sibling, 0 replies; 3+ messages in thread
From: Eduardo Ochs @ 2022-01-21 16:02 UTC (permalink / raw)
  To: fatiparty; +Cc: Help Gnu Emacs

Use setq to change its value.

On Fri, 21 Jan 2022, 12:29 fatiparty--- via Users list for the GNU Emacs
text editor, <help-gnu-emacs@gnu.org> wrote:

>
> After defining a defvar, can I then change the value is some function I
> write?
>
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-21 16:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-21 15:16 Changing value of a defvar in a function fatiparty--- via Users list for the GNU Emacs text editor
2022-01-21 15:41 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-01-21 16:02 ` Eduardo Ochs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).