diff options
author | Eli Zaretskii <eliz@is.elta.co.il> | 2004-01-03 12:12:01 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@is.elta.co.il> | 2004-01-03 12:12:01 +0000 |
commit | 15502042230fbf94c50ac8a046c367948c66dc66 (patch) | |
tree | 84970934af3914fabdc2d02a11f0ace8e9233ce6 /lisp/emulation | |
parent | 181e6a61ecee69a39a2765fe83745fe576d86d8d (diff) | |
download | emacs-15502042230fbf94c50ac8a046c367948c66dc66.tar.gz |
* progmodes/idlwave.el (idlwave-make-tags):
* textmodes/flyspell.el (flyspell-large-region):.
* progmodes/make-mode.el (makefile-query-by-make-minus-q):
* emulation/viper-util.el (viper-glob-unix-files):
* emacs-lisp/shadow.el (shadow-same-file-or-nonexistent):
* man.el (Man-init-defvars):
* jka-compr.el (jka-compr-call-process):
* files.el (get-free-disk-space,insert-directory):
* ediff-ptch.el (ediff-test-patch-utility):
* ediff-diff.el (ediff-test-utility):
* dired-aux.el (dired-check-process):
* mail/sendmail.el (sendmail-send-it): Don't use = or zerop to
test the return value of call-process, because it can be a string.
Diffstat (limited to 'lisp/emulation')
-rw-r--r-- | lisp/emulation/viper-util.el | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lisp/emulation/viper-util.el b/lisp/emulation/viper-util.el index 8e913e90599..5e533e5f545 100644 --- a/lisp/emulation/viper-util.el +++ b/lisp/emulation/viper-util.el @@ -394,17 +394,17 @@ command))) (goto-char (point-min)) ;; Issue an error, if no match. - (if (> status 0) - (save-excursion - (skip-chars-forward " \t\n\j") - (if (looking-at "ls:") - (viper-forward-Word 1)) - (error "%s: %s" - (if (stringp gshell) - gshell - "shell") - (buffer-substring (point) (viper-line-pos 'end))) - )) + (unless (eq 0 status) + (save-excursion + (skip-chars-forward " \t\n\j") + (if (looking-at "ls:") + (viper-forward-Word 1)) + (error "%s: %s" + (if (stringp gshell) + gshell + "shell") + (buffer-substring (point) (viper-line-pos 'end))) + )) (goto-char (point-min)) (viper-get-filenames-from-buffer 'one-per-line)) )) |