mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-11 22:11:21 -08:00
When using vc-exec-after to parse program output, check that the program didn't die to a signal or exit with an error exit code before attempting the parse. Continue to use plain vc-run-delayed where we aren't parsing output, because in these cases it doesn't matter to CODE if the output is incomplete. * lisp/vc/vc-dispatcher.el (vc-exec-after): <process-status>: Treat PROC dying to a signal the same as PROC exiting non-zero. (vc-exec-after): <accept-process-output>: Restore making a nonblocking call, for the case of vc-exec-after called from a process sentinel. diff-hl *does* require this. (vc-exec-after): <OKSTATUS>: New parameter, replacing SUCCESS, which never worked as documented. * test/lisp/vc/vc-tests/vc-test-misc.el (vc-test-exec-after-3): Test it. (vc-run-delayed-success): New macro. * lisp/vc/vc-git.el (vc-git-dir-status-goto-stage): * lisp/vc/vc-hg.el (vc-hg-dir-status-files): * lisp/vc/vc.el (vc-pull-and-push): Use it. * lisp/obsolete/vc-arch.el (vc-exec-after): * lisp/obsolete/vc-mtn.el (vc-exec-after): * lisp/vc/vc-bzr.el (vc-exec-after): * lisp/vc/vc-cvs.el (vc-exec-after): * lisp/vc/vc-git.el (vc-exec-after): * lisp/vc/vc-hg.el (vc-exec-after): * lisp/vc/vc-svn.el (vc-exec-after): Update declarations. |
||
|---|---|---|
| .. | ||
| autoarg.el | ||
| autoload.el | ||
| bruce.el | ||
| cdl.el | ||
| cl-compat.el | ||
| cl.el | ||
| crisp.el | ||
| echistory.el | ||
| eieio-compat.el | ||
| elint.el | ||
| eudcb-ph.el | ||
| gs.el | ||
| gulp.el | ||
| hashcash.el | ||
| html2text.el | ||
| idlw-complete-structtag.el | ||
| idlw-help.el | ||
| idlw-shell.el | ||
| idlw-toolbar.el | ||
| idlwave.el | ||
| inversion.el | ||
| iswitchb.el | ||
| kermit.el | ||
| landmark.el | ||
| linum.el | ||
| longlines.el | ||
| makesum.el | ||
| mantemp.el | ||
| messcompat.el | ||
| metamail.el | ||
| mh-compat.el | ||
| netrc.el | ||
| nnir.el | ||
| package-x.el | ||
| pgg-def.el | ||
| pgg-gpg.el | ||
| pgg-parse.el | ||
| pgg-pgp.el | ||
| pgg-pgp5.el | ||
| pgg.el | ||
| ps-def.el | ||
| quickurl.el | ||
| rfc2368.el | ||
| rlogin.el | ||
| sb-image.el | ||
| starttls.el | ||
| thumbs.el | ||
| tls.el | ||
| tpu-edt.el | ||
| tpu-extras.el | ||
| tpu-mapper.el | ||
| uce.el | ||
| url-about.el | ||
| url-dired.el | ||
| url-ns.el | ||
| vc-arch.el | ||
| vc-dav.el | ||
| vc-mtn.el | ||
| vt-control.el | ||
| vt100-led.el | ||