diff --git a/lisp/ox.el b/lisp/ox.el index ec52203c4..0da9bc25a 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -5843,7 +5843,7 @@ and `org-export-to-file' for more specialized functions." ;; Register running process in stack. (org-export-add-to-stack (get-buffer ,proc-buffer) nil ,process) ;; Set-up sentinel in order to catch results. - (let ((handler ,fun)) + (let ((handler ',fun)) (set-process-sentinel ,process `(lambda (p status)