branch: externals/mct
commit eb2394372f02a2c792ea703a400e6b9c754e8174
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Minor tweak to mct-backward-updir
---
 mct.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mct.el b/mct.el
index 4f7f4fa862..323550ea32 100644
--- a/mct.el
+++ b/mct.el
@@ -554,7 +554,7 @@ by `mct--completions-window-name'."
       (goto-char (line-end-position)))
     (save-excursion
       (goto-char (1- (point)))
-      (when (search-backward "/" (point-min) t)
+      (when (search-backward "/" (minibuffer-prompt-end) t)
         (delete-region (1+ (point)) (point-max)))))
    (t (call-interactively 'backward-delete-char))))
 

Reply via email to