spacemacs/layers/+spacemacs
Boris Buliga 69a1e056ff
support directories in spacemacs/rename-file
1. Fix `short-name` for directories. Previously it was empty string.
2. Remove redundant check for existing buffer:
   1. `(get-buffer new-name)` always return `nil`, because `new-name` is a path
      to file, not a file name.
   2. `(find-file new-name)` handles this situation.
   3. `dired-rename-file` handles this situation as well.
3. Use `dired-rename-file` to do the dirty stuff.
   1. Renames files and directories.
   2. All associated buffers are updated. If you rename a directory, all buffers
      that were visiting files from that directory now visit files from new
      directory.
4. Properly handle recentf list update for directories - all files from the
   renamed directory are removed from recentf list and the same files but from
   new directory are added back.
2018-10-31 20:56:28 +02:00
..
spacemacs-completion Reformat documentation 2018-10-11 00:13:43 +03:00
spacemacs-defaults support directories in spacemacs/rename-file 2018-10-31 20:56:28 +02:00
spacemacs-editing Fix global toggles for aggressive-indent and smartparens 2018-10-13 19:22:23 +03:00
spacemacs-editing-visual bump year in the copyright headers 2018-10-16 20:27:05 +03:00
spacemacs-evil Encapsulates multiple cursors functionality in a layer 2018-10-27 14:33:42 +03:00
spacemacs-language Reformat documentation 2018-10-11 00:13:43 +03:00
spacemacs-layouts Reformat documentation 2018-10-11 00:13:43 +03:00
spacemacs-misc Reformat documentation 2018-10-11 00:13:43 +03:00
spacemacs-modeline Fix packages.el formatting 2018-10-23 07:13:53 +03:00
spacemacs-navigation Reformat documentation 2018-10-11 00:13:43 +03:00
spacemacs-org Reformat documentation 2018-10-11 00:13:43 +03:00
spacemacs-project Reformat documentation 2018-10-11 00:13:43 +03:00
spacemacs-purpose Reformat documentation 2018-10-11 00:13:43 +03:00
spacemacs-visual Reformat documentation 2018-10-11 00:13:43 +03:00