From 38e445afe724d50d225dc76f55586767889a3498 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 27 Sep 2019 11:34:21 -0400 Subject: [PATCH] Fix #1831: typo & extra args in doom/toggle-narrow-buffer --- core/autoload/ui.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/autoload/ui.el b/core/autoload/ui.el index 2024b5d21..b83dfc31b 100644 --- a/core/autoload/ui.el +++ b/core/autoload/ui.el @@ -226,11 +226,10 @@ If the current buffer is not an indirect buffer, it is `widen'ed." "Narrow the buffer to BEG END. If narrowed, widen it." (interactive (list (or (bound-and-true-p evil-visual-beginning) (region-beginning)) - (or (bound-and-true-p evil-visual-end) (region-end)) - current-prefix-arg)) + (or (bound-and-true-p evil-visual-end) (region-end)))) (if (buffer-narrowed-p) (widen) (unless (region-active-p) (setq beg (line-beginning-position) end (line-end-position))) - (marrow-to-region beg end))) + (narrow-to-region beg end)))