bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32647: 26.1; shell-resync-dirs prints "command dirs" in the buffer


From: Alex Branham
Subject: bug#32647: 26.1; shell-resync-dirs prints "command dirs" in the buffer
Date: Thu, 06 Sep 2018 10:07:50 -0500
User-agent: mu4e 1.0; emacs 26.1

>From emacs -Q:

M-x shell
M-RET

and it prints "command dirs" literally into the shell buffer.

That comes from this line:

      ;; If the process echoes commands, don't insert a fake command in
      ;; the buffer or it will appear twice.
      (unless comint-process-echoes
        (insert shell-dirstack-query) (insert "\n"))


and shell-dirstack-query is defined above as:

    (defvar shell-dirstack-query nil
      "Command used by `shell-resync-dirs' to query the shell.")


Thanks,
Alex





reply via email to

[Prev in Thread] Current Thread [Next in Thread]