summaryrefslogtreecommitdiff
path: root/lisp/org/ob-eshell.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2019-12-04 07:05:14 +0100
committerJuanma Barranquero <lekktu@gmail.com>2019-12-04 07:05:14 +0100
commit8fb773cc919e02e06cb1640448f4d8be19c61b30 (patch)
treea8e0896dc90914e72b4e531a9d8d4be6dda03f93 /lisp/org/ob-eshell.el
parent0db82bc09fb9144e290b8d47dde8b29a04e3885a (diff)
downloademacs-8fb773cc919e02e06cb1640448f4d8be19c61b30.tar.gz
emacs-8fb773cc919e02e06cb1640448f4d8be19c61b30.tar.bz2
emacs-8fb773cc919e02e06cb1640448f4d8be19c61b30.zip
Silence warnings in Org 9.3
* lisp/org/ob-eshell.el (eshell-send-input): Declare. (eshell-last-output-start, eshell-last-output-end) (eshell-last-input-end): Defvar. * lisp/org/org-keys.el (cl-lib): Require. (org-CUA-compatible): Move up defvaralias.
Diffstat (limited to 'lisp/org/ob-eshell.el')
-rw-r--r--lisp/org/ob-eshell.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/org/ob-eshell.el b/lisp/org/ob-eshell.el
index 1090bef62f5..bfb24f8a655 100644
--- a/lisp/org/ob-eshell.el
+++ b/lisp/org/ob-eshell.el
@@ -29,6 +29,13 @@
(require 'ob)
(require 'eshell)
+(declare-function eshell-send-input "esh-mode"
+ (&optional use-region queue-p no-newline))
+
+(defvar eshell-last-output-start)
+(defvar eshell-last-output-end)
+(defvar eshell-last-input-end)
+
(defvar org-babel-default-header-args:eshell '())
(defun org-babel-execute:eshell (body params)