Attempt to M-x org-screenshot-take 'Symbol value as variable is void: return' problem
authorMax Mikhanosha <max@openchat.com>
Fri, 17 May 2013 18:28:11 +0000 (17 14:28 -0400)
committerMax Mikhanosha <max@openchat.com>
Fri, 17 May 2013 18:28:11 +0000 (17 14:28 -0400)
reported by Brett Viren

* contrib/lisp/org-screenshot.el (org-screenshot-take): Quote the last-input-event
in backquote expansion.

contrib/lisp/org-screenshot.el

index 4d2c6f6..a54cb8f 100644 (file)
@@ -320,7 +320,7 @@ screenshot is done, any more `C-u' after that increases delay by
        org-screenshot-process
        `(lambda (process event)
           (org-screenshot-process-done
-           process event ,file ,(current-buffer) ,delay ,last-input-event))))))
+           process event ,file ,(current-buffer) ,delay ',last-input-event))))))
 
 (defvar org-screenshot-file-list nil
   "List of files in `org-screenshot-image-directory' used by