Emacsclient script typo: bogus condition negation
This commit is contained in:
parent
6f6c37888a
commit
77624f4e38
|
@ -1027,7 +1027,7 @@ if [ ! "${#args[*]}" = 0 ] && [ "${args[-1]}" = "-" ]; then
|
||||||
args+=(--eval "(let ((b (generate-new-buffer \"*stdin*\"))) (switch-to-buffer b) (insert-file-contents \"$TMP\") (delete-file \"$TMP\")${stdin_mode})")
|
args+=(--eval "(let ((b (generate-new-buffer \"*stdin*\"))) (switch-to-buffer b) (insert-file-contents \"$TMP\") (delete-file \"$TMP\")${stdin_mode})")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -z "$DISPLAY" ] || $force_tty; then
|
if [ -z "$DISPLAY" ] || $force_tty; then
|
||||||
# detect terminals with sneaky 24-bit support
|
# detect terminals with sneaky 24-bit support
|
||||||
if { [ "$COLORTERM" = truecolor ] || [ "$COLORTERM" = 24bit ]; } && [ $(tput colors 2>/dev/null) -lt 257 ]; then
|
if { [ "$COLORTERM" = truecolor ] || [ "$COLORTERM" = 24bit ]; } && [ $(tput colors 2>/dev/null) -lt 257 ]; then
|
||||||
if echo "$TERM" | grep -q "^\w\+-[0-9]"; then
|
if echo "$TERM" | grep -q "^\w\+-[0-9]"; then
|
||||||
|
|
Loading…
Reference in a new issue