Remove doom/toggle-comment-region-or-line

Replaced with simpler keybinds.
This commit is contained in:
Henrik Lissner 2019-02-21 17:46:18 -05:00
parent e56a9580d7
commit afae6e4f1d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 3 additions and 12 deletions

View file

@ -270,17 +270,6 @@ Respects `require-final-newline'."
(when (looking-at "\n+")
(replace-match "")))
;;;###autoload
(defun doom/toggle-comment-region-or-line ()
"Comments or uncomments the whole region or if no region is
selected, then the current line."
(interactive)
(let (beg end)
(if (region-active-p)
(setq beg (region-beginning) end (region-end))
(setq beg (line-beginning-position) end (line-end-position)))
(comment-or-uncomment-region beg end)))
;;;###autoload
(defun doom/dos2unix ()
"Convert the current buffer to a Unix file encoding."