소스 검색

org-export: Fix byte-compilation

* contrib/lisp/org-export.el (org-export-with-current-buffer-copy):
  Fix byte-compilation.
Nicolas Goaziou 13 년 전
부모
커밋
a69f4b88c1
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      contrib/lisp/org-export.el

+ 3 - 3
contrib/lisp/org-export.el

@@ -2496,9 +2496,9 @@ buffer.
 
 Point is at buffer's beginning when BODY is applied."
   (org-with-gensyms (original-buffer offset buffer-string overlays)
-    `(let ((,original-buffer ,(current-buffer))
-	   (,offset ,(1- (point-min)))
-	   (,buffer-string ,(buffer-string))
+    `(let ((,original-buffer (current-buffer))
+	   (,offset (1- (point-min)))
+	   (,buffer-string (buffer-string))
 	   (,overlays (mapcar
 		       'copy-overlay (overlays-in (point-min) (point-max)))))
        (with-temp-buffer