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

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

Re: Rename Shell buffer with current directory


From: Michael Heerdegen
Subject: Re: Rename Shell buffer with current directory
Date: Mon, 09 Dec 2013 20:31:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

"Sebastien Vauban" <sva-news@mygooglest.com>
writes:

> Did you understand why `rename-buffer' wasn't working in the local version,
> then?

`add-hook' with the local argument adds functions corresponding to the
hook version locally to the current buffer.  If you eval what you had in
scratch, the function was added to the hook variable there, the shell
buffer didn't see it.

Dunno however why you got a message as you said.  Hard to reconstruct
that now, since I don't know exactly what you did.  If you want to have
that clarified, please send a recipe.


Regards,

Michael.




reply via email to

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