emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals-release/org a6523f1aa0 2/2: org-export-output-file-name


From: ELPA Syncer
Subject: [elpa] externals-release/org a6523f1aa0 2/2: org-export-output-file-name: Remove redundant `cond' clause
Date: Sat, 7 Jan 2023 07:58:05 -0500 (EST)

branch: externals-release/org
commit a6523f1aa0eaf29772484cafb90a888d3ac649c1
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    org-export-output-file-name: Remove redundant `cond' clause
    
    * lisp/ox.el: Remove `cond' clause equivalent to t.
---
 lisp/ox.el | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lisp/ox.el b/lisp/ox.el
index 62fc8d583e..12767267a7 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]