1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

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.
This commit is contained in:
Juanma Barranquero 2019-12-04 07:05:14 +01:00
parent 0db82bc09f
commit 8fb773cc91
2 changed files with 11 additions and 2 deletions

View File

@ -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)

View File

@ -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)])