master ae2bb28e0ce 2/2: ; * lisp/net/tramp.el (tramp-file-name-for-operation): Use and-let*.

Sean Whitton <[email protected]>
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: master
commit ae2bb28e0ce82da33c8020ba90b7a061109e1254
Author: Sean Whitton <[email protected]>
Commit: Sean Whitton <[email protected]>

    ; * lisp/net/tramp.el (tramp-file-name-for-operation): Use and-let*.
---
 lisp/net/tramp.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 52c73dcf92a..5219435cbd2 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -2573,7 +2573,7 @@ Must be handled by the callers."
 		   ((bufferp (nth 0 args)) (get-buffer (nth 0 args)))
 		   ((stringp (nth 0 args))
 		    ;; Process or buffer name.
-		    (or (when-let* ((proc (get-process (nth 0 args))))
+		    (or (and-let* ((proc (get-process (nth 0 args))))
                           (process-buffer proc))
                         (get-buffer (nth 0 args)))))))
 	  (tramp-get-default-directory buf))
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.