summaryrefslogtreecommitdiff
path: root/lisp
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
parent0db82bc09fb9144e290b8d47dde8b29a04e3885a (diff)
downloademacs-8fb773cc919e02e06cb1640448f4d8be19c61b30.tar.gz
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')
-rw-r--r--lisp/org/ob-eshell.el7
-rw-r--r--lisp/org/org-keys.el6
2 files changed, 11 insertions, 2 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)
diff --git a/lisp/org/org-keys.el b/lisp/org/org-keys.el
index daad26dbf33..3b8fa5f53be 100644
--- a/lisp/org/org-keys.el
+++ b/lisp/org/org-keys.el
@@ -27,6 +27,8 @@
;;; Code:
+(require 'cl-lib)
+
(defvar org-outline-regexp)
(declare-function org-add-note "org" ())
@@ -218,6 +220,8 @@
(defvar org-mode-map (make-sparse-keymap)
"Keymap fo Org mode.")
+(defvaralias 'org-CUA-compatible 'org-replace-disputed-keys)
+
(defcustom org-replace-disputed-keys nil
"Non-nil means use alternative key bindings for some keys.
@@ -244,8 +248,6 @@ loading Org."
:type 'boolean
:safe #'booleanp)
-(defvaralias 'org-CUA-compatible 'org-replace-disputed-keys)
-
(defcustom org-disputed-keys
'(([(shift up)] . [(meta p)])
([(shift down)] . [(meta n)])