diff options
| author | Glenn Morris | 2009-10-06 02:50:44 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-10-06 02:50:44 +0000 |
| commit | 9fb2cdc58b148f31fadab4a64c24db7bbab0542b (patch) | |
| tree | c82ac14ba250c2bdeb338bfa27f29610d1562b67 | |
| parent | 7938ab41f519585bb9c0ebd36673a1c464da723a (diff) | |
| download | emacs-9fb2cdc58b148f31fadab4a64c24db7bbab0542b.tar.gz emacs-9fb2cdc58b148f31fadab4a64c24db7bbab0542b.zip | |
(tramp-handle-start-file-process): Move tramp-error call
inside with-parsed... macro so that `v' is defined.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 18d49b98817..50c6e57bccd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2009-10-06 Glenn Morris <rgm@gnu.org> | 1 | 2009-10-06 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call | ||
| 4 | inside with-parsed... macro so that `v' is defined. | ||
| 5 | |||
| 3 | * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block): | 6 | * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block): |
| 4 | * progmodes/fortran.el (fortran-end-of-block) | 7 | * progmodes/fortran.el (fortran-end-of-block) |
| 5 | (fortran-beginning-of-block): | 8 | (fortran-beginning-of-block): |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 9be6ea8a0df..baac3247963 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -3999,10 +3999,10 @@ beginning of local filename are not substituted." | |||
| 3999 | ;; connection has been setup. | 3999 | ;; connection has been setup. |
| 4000 | (defun tramp-handle-start-file-process (name buffer program &rest args) | 4000 | (defun tramp-handle-start-file-process (name buffer program &rest args) |
| 4001 | "Like `start-file-process' for Tramp files." | 4001 | "Like `start-file-process' for Tramp files." |
| 4002 | (unless (stringp program) | ||
| 4003 | (tramp-error | ||
| 4004 | v 'file-error "pty association is not supported for `%s'" name)) | ||
| 4005 | (with-parsed-tramp-file-name default-directory nil | 4002 | (with-parsed-tramp-file-name default-directory nil |
| 4003 | (unless (stringp program) | ||
| 4004 | (tramp-error | ||
| 4005 | v 'file-error "pty association is not supported for `%s'" name)) | ||
| 4006 | (unwind-protect | 4006 | (unwind-protect |
| 4007 | (let ((command (format "cd %s; exec %s" | 4007 | (let ((command (format "cd %s; exec %s" |
| 4008 | (tramp-shell-quote-argument localname) | 4008 | (tramp-shell-quote-argument localname) |