emacs-diffs
[Top][All Lists]
Advanced

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

master fa3959f: term.el: Use correct exit status in suggested dir-tracki


From: Lars Ingebrigtsen
Subject: master fa3959f: term.el: Use correct exit status in suggested dir-tracking functions
Date: Wed, 26 Aug 2020 06:03:42 -0400 (EDT)

branch: master
commit fa3959f5cbd2c0c4642999bde987ba852373e0dd
Author: Phil Sainty <psainty@orcon.net.nz>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    term.el: Use correct exit status in suggested dir-tracking functions
    
    * lisp/term.el: Make some of the examples better (bug#43055).
---
 lisp/term.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/term.el b/lisp/term.el
index 3c65b63..e77c2c1 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -241,9 +241,9 @@
 ;;             printf '\033AnSiTu %s\n' "$USER"
 ;;             printf '\033AnSiTc %s\n' "$PWD"
 ;;
-;;             cd()    { command cd    "$@"; printf '\033AnSiTc %s\n' "$PWD"; }
-;;             pushd() { command pushd "$@"; printf '\033AnSiTc %s\n' "$PWD"; }
-;;             popd()  { command popd  "$@"; printf '\033AnSiTc %s\n' "$PWD"; }
+;;             cd()    { command cd    "$@" && printf '\033AnSiTc %s\n' 
"$PWD"; }
+;;             pushd() { command pushd "$@" && printf '\033AnSiTc %s\n' 
"$PWD"; }
+;;             popd()  { command popd  "$@" && printf '\033AnSiTc %s\n' 
"$PWD"; }
 ;;
 ;;             # Use custom dircolors in term buffers.
 ;;             # eval $(dircolors $HOME/.emacs_dircolors)



reply via email to

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