emacs-devel
[Top][All Lists]
Advanced

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

Re: Why is not end-of-defun-function buffer local?


From: martin rudalics
Subject: Re: Why is not end-of-defun-function buffer local?
Date: Tue, 11 Dec 2007 13:53:39 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> The "automatically local when set" is of course making it yet
> a bit messier.  Not sure what we should do about that.

I'm still missing you.  Consider

(defvar foo 0)

(let ((this-buffer (current-buffer)))
  (set (make-local-variable 'foo) 1)
  (let ((foo 2))
    (with-temp-buffer "*foo*"
      (let ((foo 3))
        (with-current-buffer this-buffer
          foo)))))

Doesn't this exhibit the same "deep binding" behavior as
`make-variable-buffer-local'?





reply via email to

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