0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-25 11:02:53 +00:00

org-export-output-file-name: Remove redundant `cond' clause

* lisp/ox.el: Remove `cond' clause equivalent to t.
This commit is contained in:
Ihor Radchenko 2023-01-07 15:13:52 +03:00
parent 5a8a1d4ff9
commit a6523f1aa0
No known key found for this signature in database
GPG key ID: 6470762A7DA11D8B

View file

@ -6757,7 +6757,6 @@ Return file name as a string."
(cond
(pub-dir (concat (file-name-as-directory pub-dir)
(file-name-nondirectory base-name)))
((file-name-absolute-p base-name) base-name)
(t base-name))))
;; If writing to OUTPUT-FILE would overwrite original file, append
;; EXTENSION another time to final name.