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

@ -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))