Advertisement
Guest User

Untitled

a guest
Jul 29th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.34 KB | None | 0 0
  1. (defun my-open-file-external (program file-names &optional args)
  2.   (let ((file-names-as-string
  3.          ;; (mapconcat '(lambda (file) (concat "\"" file "\"")) file-names " ")
  4.          (mapconcat 'identity file-names " ")
  5.          ))
  6.     (start-process (file-name-nondirectory program) nil program file-names-as-string (or args ""))
  7.     ))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement