From 2f6fac3410640437b4b1aaf1bc373a5c5d558a8c Mon Sep 17 00:00:00 2001 From: DogLooksGood Date: Mon, 14 Oct 2024 14:36:05 +0800 Subject: [PATCH] Fix meow-line behavior in term, eshell, etc --- meow-command.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meow-command.el b/meow-command.el index 38f039b..f17eed5 100644 --- a/meow-command.el +++ b/meow-command.el @@ -983,7 +983,8 @@ numeric, repeat times. (p (save-mark-and-excursion (if forward (progn - (forward-line (1- n)) + (unless (= n 1) + (forward-line (1- n))) (line-end-position)) (progn (forward-line (1+ n))