emacs-devel
[Top][All Lists]
Advanced

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

Re: Proposal for a closed-buffer tracker


From: Stefan Monnier
Subject: Re: Proposal for a closed-buffer tracker
Date: Sun, 22 Feb 2015 17:03:16 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> (add-hook 'kill-buffer-hook #'track-closed-buffer)
> Why the hash?

I consider it good practice to use #'<name> rather than '<name> when
referring to a function rather than to a symbol (tho it's not used very
widely right now).  Among the benefits, the byte-compiler will check
that this function indeed exists.


        Stefan



reply via email to

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