spacemacs/layers/+spacemacs/spacemacs-defaults
Daniel Nicolai 295e4271ef Fix wrong buffer name after file rename
When providing only the new directory path (i.e. without new filename) while
moving a file to a new directory with `spacemacs/rename-current-buffer-file`,
currently Spacemacs opens the file in a new buffer with the directory name.

Additionally, the `file-renamed-p` gets set the wrong value. To fix both
issues (with minimal work), it is easiest to just fix the `new-name`
value (alternatively fixing the `rename-buffer` and `set-visited-file-name`
forms later would not fix the wrong `file-renamed-p` value issue).

Finally when called with a universal-argument, then that argument
unintentionally gets 'passed' in the interactive call to
projectile-invalidate-cache. So this PR fixes that by changing the interactive
call to a funcall.
2021-07-29 20:54:30 +02:00
..
local/help-fns+ Revert "spacemacs-defaults: replace local pkg help-fns+ with github one" 2021-03-20 01:11:21 +01:00
config.el [default] Fix the condition for dotspacemacs-use-SPC-as-y 2021-05-17 20:48:37 +00:00
funcs.el Fix wrong buffer name after file rename 2021-07-29 20:54:30 +02:00
keybindings.el Revert "add a feature to save file as a new file and open it in a new buffer" 2021-05-07 05:29:22 +00:00
packages.el Evilify image-dired-thumbnail/display-image-mode-(map)s 2021-07-28 20:40:23 +02:00
README.org [defaults] add qickrun 2021-04-19 22:08:47 +02:00

spacemacs-defaults

Description

This layer configures mostly Emacs built-in packages to given them better defaults.

Features:

  • Configures packages:

    • abbrev
    • archive-mode
    • bookmark
    • conf-mode
    • cus-edit
    • dired
    • dired-x
    • display-line-numbers (only in Emacs 26.x and newer)
    • electric-indent-mode
    • easypg
    • ediff
    • eldoc
    • help-fns+
    • hi-lock
    • image-mode
    • imenu
    • linum (only in Emacs 25.x and older)
    • occur-mode
    • package-menu
    • page-break-lines
    • process-menu
    • quickrun
    • recentf
    • savehist
    • saveplace
    • subword
    • tar-mode
    • uniquify
    • url
    • visual-line-mode
    • whitespace
    • winner
    • zone