Merge branch 'maint' into master

This commit is contained in:
Kyle Meyer 2020-09-28 23:13:42 -04:00
commit 920da33f11
1 changed files with 2 additions and 2 deletions

View File

@ -10693,8 +10693,8 @@ WHAT entry will also be removed."
;; If there is nothing more to add and no more keyword is
;; left, remove the line completely.
(if (and (looking-at-p "[ \t]*$") (not what))
(delete-region (line-beginning-position)
(line-beginning-position 2))
(delete-region (line-end-position 0)
(line-end-position))
;; If we removed last keyword, do not leave trailing white
;; space at the end of line.
(let ((p (point)))