Skip to main content
added 3 characters in body
Source Link
Jamal
  • 34.9k
  • 13
  • 133
  • 237

How can the following code can be made idiomatic in ELisp? Can the temporary ELispf variable be removed?

(global-set-key [f3] 
  (lambda () (interactive) 
    (let ((f (ffap-file-at-point)))
      (start-process "test" "output" "mpv" f))))

Can temporary f variable be removed?

How the following code can be made idiomatic in ELisp?

(global-set-key [f3] 
  (lambda () (interactive) 
    (let ((f (ffap-file-at-point)))
      (start-process "test" "output" "mpv" f))))

Can temporary f variable be removed?

How can the following code be made idiomatic in ELisp? Can the temporary f variable be removed?

(global-set-key [f3] 
  (lambda () (interactive) 
    (let ((f (ffap-file-at-point)))
      (start-process "test" "output" "mpv" f))))
Source Link
sevo
  • 291
  • 2
  • 6

Start a process in Elisp

How the following code can be made idiomatic in ELisp?

(global-set-key [f3] 
  (lambda () (interactive) 
    (let ((f (ffap-file-at-point)))
      (start-process "test" "output" "mpv" f))))

Can temporary f variable be removed?