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

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

Re: buffer-name in find-file-hook


From: Nikolaj Schumacher
Subject: Re: buffer-name in find-file-hook
Date: Wed, 03 Sep 2008 19:57:41 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.50 (darwin)

Joe Bloggs <who@cares.invalid> wrote:

> Hi, I am writing a function to add to find-file-hook for hiding text
> regions saved in a list. I need to know the buffer-name of the opened
> file, so that I can compare it with the buffer names of the saved
> regions.

Why are you using the buffer name?  Wouldn't it be better to use
something more unique, i.e. the file name?


regards,
Nikolaj Schumacher




reply via email to

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