forked from mirrors/org-mode
ob-tangle: Fix failing test on Emacs 24.3
* lisp/ob-tangle.el (org-babel-tangle): Do not use `add-to-list' on a let-bound symbol.
This commit is contained in:
parent
65e9dcee8d
commit
69552bd42f
|
@ -290,10 +290,8 @@ used to limit the exported source code blocks by language."
|
|||
(unless tangle-mode (setq tangle-mode #o755)))
|
||||
;; update counter
|
||||
(setq block-counter (+ 1 block-counter))
|
||||
(add-to-list 'path-collector
|
||||
(cons file-name tangle-mode)
|
||||
nil
|
||||
(lambda (a b) (equal (car a) (car b))))))))
|
||||
(unless (assoc file-name path-collector)
|
||||
(push (cons file-name tangle-mode) path-collector))))))
|
||||
specs)))
|
||||
(if (equal arg '(4))
|
||||
(org-babel-tangle-single-block 1 t)
|
||||
|
|
Loading…
Reference in a new issue