Remove doom/toggle-comment-region-or-line
Replaced with simpler keybinds.
This commit is contained in:
parent
e56a9580d7
commit
afae6e4f1d
2 changed files with 3 additions and 12 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue