einfo: can read node as well

master
Pierre Neidhardt 2014-02-12 11:49:24 +01:00
parent d35cd9bd90
commit e475d727a9
1 changed files with 2 additions and 1 deletions

View File

@ -11,4 +11,5 @@ check()
}
check emacs realpath
emacs --eval '(progn (info "'"$(realpath "$1")"'")(delete-other-windows))'
[ -f "$1" ] && node="$(realpath "$1")" || node="$1"
emacs --eval '(progn (info "'"$node"'")(delete-other-windows))'