Minor reformatting & docstring tweak

This commit is contained in:
Henrik Lissner 2018-06-26 01:47:32 +02:00
parent 77eee38c41
commit af41e17355
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 7 additions and 7 deletions

View file

@ -186,8 +186,7 @@ possible, or just one char if that's not possible."
(save-excursion
(insert-char ?\s (- ocol (current-column)) nil))))
;;
((and (= n 1)
(bound-and-true-p smartparens-mode))
((and (= n 1) (bound-and-true-p smartparens-mode))
(cond ((and (memq (char-before) (list ?\ ?\t))
(save-excursion
(and (> (- (skip-chars-backward " \t" (line-beginning-position))) 0)
@ -213,7 +212,7 @@ possible, or just one char if that's not possible."
((run-hook-with-args-until-success 'doom-delete-backward-functions))
((doom/backward-delete-whitespace-to-column)))))))
;; Otherwise, do simple deletion.
(t (delete-char (- n) killflag))))
((delete-char (- n) killflag))))
;;;###autoload
(defun doom/retab (arg &optional beg end)