[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make rename-file() also rename visiting buffers
From: |
Dieter Wilhelm |
Subject: |
Re: Make rename-file() also rename visiting buffers |
Date: |
Tue, 12 Jun 2007 22:01:11 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
Nordlöw <per.nordlow@gmail.com> writes:
> Why does not rename-file() correspondingly rename all buffers visiting
> that file?
>
> How can I make this happen?
For me the fastest way is to use the dired-x command
(define-key global-map "\C-x\C-j" 'dired-jump)
C-x C-j in the interesting buffer leads you to dired, then type R (for
rename) and after renaming it type RET and you are in the
corresponding buffer and all others are renamed as well.
--
Best wishes
H. Dieter Wilhelm
Darmstadt, Germany