diff --git a/lisp/org-tempo.el b/lisp/org-tempo.el index 6f823ba1f..6c24b2b19 100644 --- a/lisp/org-tempo.el +++ b/lisp/org-tempo.el @@ -126,12 +126,13 @@ Goes through `org-structure-template-alist' and (defun org-tempo--include-file () "Ask for file name and take care of quit" - (let* ((inhibit-quit t)) + (let ((inhibit-quit t)) (unless (with-local-quit (prog1 t (insert - (format "#+include: \"%s\" " (file-relative-name - (read-file-name "Include file: ")))))) + (format "#+include: %S " + (file-relative-name + (read-file-name "Include file: ")))))) (insert "