소스 검색

Fix last commit

* lisp/org.el (org-dynamic-block-define): Fix match.
Nicolas Goaziou 6 년 전
부모
커밋
3a2ef56195
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lisp/org.el

+ 1 - 1
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.