bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20521: Bug 2051


From: Nick Andryshak
Subject: bug#20521: Bug 2051
Date: Fri, 15 May 2015 19:24:38 -0400

Interesting, thanks. I suppose I misunderstand the manual page that I linked.

- Nick

On Fri, May 15, 2015 at 5:42 PM, Drew Adams <drew.adams@oracle.com> wrote:
> I think you may misunderstand: setq always sets a global variable.

Since when?

  -- Macro: setq-local variable value
     This macro creates a buffer-local binding in the current buffer for
     VARIABLE, and gives it the buffer-local value VALUE.  It is
     equivalent to calling `make-local-variable' followed by `setq'.
     VARIABLE should be an unquoted symbol.

Note the last sentence, which points out that `setq' does not always
set a global variable.  If it did, then so would `setq-local',
according to that text.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]