# HG changeset patch # User Juanma Barranquero # Date 1124896818 0 # Node ID 3b647b8b1789599dd41f4fa643f13a036389a188 # Parent 023a3b40a5d4b7b1162f2863ebf10452f032554c (filter-region, execute-monitor-command): Use `let*' instead of `let'. diff -r 023a3b40a5d4 -r 3b647b8b1789 lisp/obsolete/mlsupport.el --- a/lisp/obsolete/mlsupport.el Wed Aug 24 15:10:45 2005 +0000 +++ b/lisp/obsolete/mlsupport.el Wed Aug 24 15:20:18 2005 +0000 @@ -321,15 +321,15 @@ "Mocklisp compatibility variable; 1 means pass -f when calling csh.") (defun filter-region (command) - (let ((shell (if (/= use-users-shell 0) shell-file-name "/bin/sh")) - (csh (equal (file-name-nondirectory shell) "csh"))) + (let* ((shell (if (/= use-users-shell 0) shell-file-name "/bin/sh")) + (csh (equal (file-name-nondirectory shell) "csh"))) (call-process-region (point) (mark) shell t t nil (if (and csh use-csh-option-f) "-cf" "-c") (concat "exec " command)))) (defun execute-monitor-command (command) - (let ((shell (if (/= use-users-shell 0) shell-file-name "/bin/sh")) - (csh (equal (file-name-nondirectory shell) "csh"))) + (let* ((shell (if (/= use-users-shell 0) shell-file-name "/bin/sh")) + (csh (equal (file-name-nondirectory shell) "csh"))) (call-process shell nil t t (if (and csh use-csh-option-f) "-cf" "-c") (concat "exec " command))))