[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add M-x occur to the menu-bar
From: |
Andreas Schwab |
Subject: |
Re: Add M-x occur to the menu-bar |
Date: |
Fri, 13 Feb 2004 21:58:35 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> One of the classic pitfalls of make-variable-buffer-local which your code
> suffers from is the following:
> Say I change diff-mode to do
>
> (setq compilation-next-error-function 'diff-foo)
>
> just like I intend to. Now the behavior will be either to set the local or
> the global vriable depending on whether or not compile.el has already
> been loaded. And no: requiring compile.el is not an acceptable option.
This can be fixed with
;;;###autoload (make-variable-buffer-local 'compilation-next-error-function)
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Re: Add M-x occur to the menu-bar, (continued)
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/02/13
- Re: Add M-x occur to the menu-bar, Kim F. Storm, 2004/02/13
- Re: Add M-x occur to the menu-bar, Richard Stallman, 2004/02/14
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/02/23
- Re: Add M-x occur to the menu-bar, Kim F. Storm, 2004/02/23
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/02/24
- Re: Add M-x occur to the menu-bar, Richard Stallman, 2004/02/14
- Re: Add M-x occur to the menu-bar, Ted Zlatanov, 2004/02/23
- Re: Add M-x occur to the menu-bar, Richard Stallman, 2004/02/25
- Re: Add M-x occur to the menu-bar, Stefan Monnier, 2004/02/13
- Re: Add M-x occur to the menu-bar,
Andreas Schwab <=
- Re: Add M-x occur to the menu-bar, Stefan Monnier, 2004/02/13
- Re: Add M-x occur to the menu-bar, Richard Stallman, 2004/02/14
- Re: Add M-x occur to the menu-bar, Richard Stallman, 2004/02/07