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

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

[elpa] externals/org ef391c882c 1/2: org-babel--shell-command-on-region:


From: ELPA Syncer
Subject: [elpa] externals/org ef391c882c 1/2: org-babel--shell-command-on-region: Remove obsolete workaround
Date: Sun, 23 Jul 2023 12:59:12 -0400 (EDT)

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

    org-babel--shell-command-on-region: Remove obsolete workaround
    
    * lisp/ob-eval.el (org-babel--shell-command-on-region): Remove
    workaround for ancient Emacs version < minimal supported Emacs 26.
---
 lisp/ob-eval.el | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/lisp/ob-eval.el b/lisp/ob-eval.el
index 0f8a6674e9..9cd131099c 100644
--- a/lisp/ob-eval.el
+++ b/lisp/ob-eval.el
@@ -106,11 +106,6 @@ returned."
        (error-file (if error-buffer (org-babel-temp-file "ob-error-") nil))
        (shell-file-name (org-babel--get-shell-file-name))
        exit-status)
-    ;; There is an error in `process-file' when `error-file' exists.
-    ;; This is fixed in Emacs trunk as of 2012-12-21; let's use this
-    ;; workaround for now.
-    (unless (file-remote-p default-directory)
-      (delete-file error-file))
     ;; we always call this with 'replace, remove conditional
     ;; Replace specified region with output from command.
     (org-babel--write-temp-buffer-input-file input-file)



reply via email to

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