Merge pull request #4604 from Janfel/patch-1
Fix interactive doom/retab.
This commit is contained in:
commit
56c5497a29
2 changed files with 2 additions and 2 deletions
|
@ -251,7 +251,7 @@ the value of `indent-tab-mode'.
|
||||||
|
|
||||||
If ARG (universal argument) is non-nil, retab the current buffer using the
|
If ARG (universal argument) is non-nil, retab the current buffer using the
|
||||||
opposite indentation style."
|
opposite indentation style."
|
||||||
(interactive "Pr")
|
(interactive "P\nr")
|
||||||
(unless (and beg end)
|
(unless (and beg end)
|
||||||
(setq beg (point-min)
|
(setq beg (point-min)
|
||||||
end (point-max)))
|
end (point-max)))
|
||||||
|
|
|
@ -123,7 +123,7 @@ the only window, use evil-window-move-* (e.g. `evil-window-move-far-left')."
|
||||||
"Wrapper around `doom/retab'."
|
"Wrapper around `doom/retab'."
|
||||||
:motion nil :move-point nil :type line
|
:motion nil :move-point nil :type line
|
||||||
(interactive "<r>")
|
(interactive "<r>")
|
||||||
(doom/retab beg end))
|
(doom/retab nil beg end))
|
||||||
|
|
||||||
;;;###autoload (autoload '+evil:narrow-buffer "editor/evil/autoload/evil" nil t)
|
;;;###autoload (autoload '+evil:narrow-buffer "editor/evil/autoload/evil" nil t)
|
||||||
(evil-define-operator +evil:narrow-buffer (beg end &optional bang)
|
(evil-define-operator +evil:narrow-buffer (beg end &optional bang)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue