From 5edec74298a0140c5ebf55e7be0d64de6c702b17 Mon Sep 17 00:00:00 2001
Date: Mon, 17 Apr 2017 11:01:28 -0400
Subject: [PATCH] Fix nil case in pcase
* lisp/org-capture.el (org-capture-fill-template): Use `nil for the
nil case in pcase form.
---
lisp/org-capture.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index 76cacdda764..cd67c280392 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -1782,7 +1782,7 @@ The template may still contain \"%?\" for cursor positioning."
(lambda (s) (org-insert-link 0 s))))
(first-value (car org-capture--clipboards)))
(pcase (length org-capture--clipboards)
- (nil nil)
+ (`nil nil)
(`(,value) (funcall insert-fun value))
(`(,first-value . ,_)
(funcall insert-fun
--
2.11.0