General, minor refactoring

This commit is contained in:
Henrik Lissner 2019-02-24 13:58:56 -05:00
parent 4aaeeb509c
commit 7c5eefee3e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
6 changed files with 12 additions and 14 deletions

View file

@ -115,7 +115,7 @@ markdown and copies it to your clipboard, ready to be pasted into bug reports!"
branch and commit."
(interactive)
(require 'vc-git)
(print! "Doom v%s (Emacs v%s)\nBranch: %s\nCommit: %s."
(print! "Doom v%s (Emacs v%s)\nBranch: %s\nCommit: %s"
doom-version
emacs-version
(or (vc-git--symbolic-ref doom-core-dir)

View file

@ -108,7 +108,7 @@ afterwards, kill line to beginning of line."
(interactive)
(let ((empty-line-p (save-excursion (beginning-of-line)
(looking-at-p "[ \t]*$"))))
(funcall (if (featurep 'evil)
(funcall (if (fboundp 'evil-delete)
#'evil-delete
#'delete-region)
(point-at-bol) (point))