diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-03-22 18:36:02 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-03-22 18:36:02 +0100 |
commit | 3a2ef56195c8f05179ae8f68ade65c725b352c89 (patch) | |
tree | 8c73997d9f5e5bd312c6ced72693f67214e19b2a | |
parent | 6c88d8e406ba878c27ee07b017c2c6b201ae1276 (diff) | |
download | org-mode-3a2ef56195c8f05179ae8f68ade65c725b352c89.tar.gz |
Fix last commit
* lisp/org.el (org-dynamic-block-define): Fix match.
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 7c18090..37e8abe 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -9598,7 +9598,7 @@ TYPE is a string. FUNC is the function creating the dynamic block of such type." (pcase (assoc type org-dynamic-block-alist) (`nil (push (cons type func) org-dynamic-block-alist)) - (`(,def . ,_) (setcdr def func)))) + (def (setcdr def func)))) (defun org-dynamic-block-insert-dblock (type) "Insert a dynamic block of type TYPE. |