- Remove remaining `EMACS27+` checks, since the whole codebase is
assumed to run at version 27 or above now
- Remove `EMACS27+` definition since it's no longer needed
On Windows (or systems that don't support ls),
ls-lisp-use-insert-directory-program will be nil. In these cases, strip
out non-standard switches so they don't throw an error and make dired unusuable.
Fixes#3939
`dired-create-destination-dirs` : set to "ask", non-existent directories will be
created when copying, if the user consents.
`dired-vc-rename-file` : rename file using the vc system, if present
dgi-commit-message-format set to
%h - Abbreviated commit hash
%cs - committer date, short format (YYYY-MM-DD)
%s - subject
First two are fixed-width, which makes it look neater.
It won't correctly disable on `C-c C-e`, but it does work find if
enabled manually.
Also: refactors +dired-enable-git-info-h and map! call
Relevant to #2106
There are a few workflows where having multiple buffers (e.g.
side-by-side) is preferrable, however, `dired-find-alternate-file` kills
the old buffer indiscriminately.
This commit does two things:
- Renames def-advice! to defadvice!, in the spirit of naming convenience
macros after the function/macro they enhance or replace.
- Correct the names of advice functions to indicate visibility and
intent. A public advice function like doom-set-jump-a is meant to be
used elsewhere. A private one like +dired--cleanup-header-line-a
shouldn't -- it likely won't work anywhere but the function(s) it was
made to advise.
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.
Also changes def-package-hook! -> use-package-hook!
The old macros are now marked obsolete and will be removed when straight
integration is merged.