mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-24 07:20:29 +00:00
ob-eshell: Silence byte-compiler
* lisp/ob-eshell.el (org-babel-eshell-initiate-session): Remove unnecessary code.
This commit is contained in:
parent
db56e096e8
commit
0ff4076cb4
@ -77,11 +77,8 @@ The PARAMS are variables assignments."
|
|||||||
"Initiate a session named SESSION."
|
"Initiate a session named SESSION."
|
||||||
(when (and session (not (string= session "none")))
|
(when (and session (not (string= session "none")))
|
||||||
(save-window-excursion
|
(save-window-excursion
|
||||||
(or (ob-eshell-session-live-p session)
|
(unless (ob-eshell-session-live-p session)
|
||||||
(progn
|
(let ((eshell-buffer-name session)) (eshell))))
|
||||||
(let ((eshell-buffer-name session))
|
|
||||||
(eshell))
|
|
||||||
(get-buffer (current-buffer)))))
|
|
||||||
session))
|
session))
|
||||||
|
|
||||||
(defun org-babel-variable-assignments:eshell (params)
|
(defun org-babel-variable-assignments:eshell (params)
|
||||||
|
Loading…
Reference in New Issue
Block a user