babel: can now tangle files without extensions
This commit is contained in:
parent
04057e2195
commit
21849af58b
|
@ -102,9 +102,10 @@ exported source code blocks by language."
|
|||
((> (length tangle) 0) tangle))
|
||||
target-file))
|
||||
(file-name (when base-name
|
||||
(if (string= base-name
|
||||
(file-name-sans-extension base-name))
|
||||
(concat base-name "." ext) base-name))))
|
||||
(if (and ext
|
||||
(string= base-name
|
||||
(file-name-sans-extension base-name)))
|
||||
(concat base-name "." ext) base-name))))
|
||||
;; ;; debugging
|
||||
;; (message "tangle=%S base-name=%S file-name=%S"
|
||||
;; tangle base-name file-name)
|
||||
|
|
Loading…
Reference in New Issue