[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help needed with defadvice
From: |
Stefan Monnier |
Subject: |
Re: Help needed with defadvice |
Date: |
Sat, 23 Nov 2013 10:38:41 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> (defadvice kill-all-local-variables (around inherit activate)
> "We want inherited variables to survive a call to this function"
> (let* ((set-list (mapcar (lambda ( v )
> (cons v (symbol-value v)))
> inherited-alist)))
> ad-do-it
> (mapcar (lambda ( c )
> (set (car c) (cdr c)))
> set-list)))
> How about an extra blurb in the documentation for make-variable-buffer-local
Which documentation? The Elisp manual talks about it, as well as about
the `permanant-local' property, which you might like to use.
Stefan
- Help needed with defadvice, Perry Smith, 2013/11/21
- Re: Help needed with defadvice, Eric Abrahamsen, 2013/11/22
- Re: Help needed with defadvice, Alex Kost, 2013/11/22
- Re: Help needed with defadvice, Perry Smith, 2013/11/22
- Re: Help needed with defadvice, Alex Kost, 2013/11/22
- Re: Help needed with defadvice, Perry Smith, 2013/11/22
- Re: Help needed with defadvice, Alex Kost, 2013/11/23
- Re: Help needed with defadvice, Stefan Monnier, 2013/11/23
- Re: Help needed with defadvice, Perry Smith, 2013/11/23
- Re: Help needed with defadvice,
Stefan Monnier <=
- Re: Help needed with defadvice, Perry Smith, 2013/11/23
- Re: Help needed with defadvice, Stefan Monnier, 2013/11/24
- Re: Help needed with defadvice, Alex Kost, 2013/11/23
Message not available
Re: Help needed with defadvice, Stefan Monnier, 2013/11/22