emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Failure in compiling org-capture.el


From: Kaushal Modi
Subject: Re: [O] Failure in compiling org-capture.el
Date: Mon, 17 Apr 2017 15:10:54 +0000

This patch works:

From 5edec74298a0140c5ebf55e7be0d64de6c702b17 Mon Sep 17 00:00:00 2001
From: Kaushal Modi <address@hidden>
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
--

Kaushal Modi


reply via email to

[Prev in Thread] Current Thread [Next in Thread]