tazjin/emacs: rename-file should clean up buffers

#293
Opened by tazjin at 2023-08-24T15·22+00

In 99% of cases, when I invoke rename-file, I want the current buffer's file to be renamed and I want the buffer to change and point to the new file.

There might be a function for this already, but maybe I just need to write a rename-current-buffer-file function and use that instead.

  1. This exists built-in. It's rename-visited-file.

    tazjin at 2023-08-26T20·37+00

  2. tazjin closed this issue at 2023-08-26T20·37+00