Silence `org-lint' more
This commit is contained in:
parent
c022ce689a
commit
323c75cb31
24
README.org
24
README.org
@ -2275,8 +2275,9 @@ of the [[info:org#Top][Org (info)]] manual.
|
||||
I have split the initial [[https://orgmode.org/][Org-mode]] setup over several listings. Here, follows a
|
||||
list detailing and motivating each listing:
|
||||
1. Listing [[lst:set-org-options]] handles basic [[https://orgmode.org/][Org-mode]] options.
|
||||
2. Listing [[lst:setup-org-babel]] handles basic [[https://orgmode.org/][Org-mode]] options specific to
|
||||
[[info:org#Working with Source Code][work with source code (info)]].
|
||||
2. Listing [[lst:setup-org-babel]] handles basic [[https://orgmode.org/][Org-mode]] options to [[info:org#Working with Source Code][work with
|
||||
source code (info)]] and adds =org-babel-execute:<LANGUAGE>= functions to
|
||||
silence src_emacs-lisp[:results silent]{(find-library "org-lint")}.
|
||||
3. Listing [[lst:org-babel-execute-named-block]] adds a function to execute a named
|
||||
source block interactively.
|
||||
4. Listing [[lst:ob-tangle-plus]] extends [[info:org#Noweb Reference Syntax][source code export (info)]] with the
|
||||
@ -2359,14 +2360,29 @@ list detailing and motivating each listing:
|
||||
(with-eval-after-load 'ob-core
|
||||
(setopt org-confirm-babel-evaluate nil)
|
||||
|
||||
;; Modes are not executable:
|
||||
(defun org-babel-execute:conf (_body _params)
|
||||
"NO-OP to silence warnings." nil)
|
||||
|
||||
(defun org-babel-execute:text (_body _params)
|
||||
"NO-OP to silence warnings." t)
|
||||
|
||||
(defun org-babel-execute:toml (_body _params)
|
||||
"NO-OP to silence warnings." nil)
|
||||
|
||||
;; Modes are not installed:
|
||||
(defun org-babel-execute:maxima (_body _params)
|
||||
"NO-OP to silence warnings." t)
|
||||
|
||||
;; Sections not exported:
|
||||
(defun org-babel-execute:applescript (_body _params)
|
||||
"NO-OP to silence warnings." nil)
|
||||
|
||||
(defun org-babel-execute:racket (_body _params)
|
||||
"NO-OP to silence warnings." t)
|
||||
|
||||
(defun org-babel-execute:text (_body _params)
|
||||
"NO-OP to silence warnings." t))
|
||||
(defun org-babel-execute:scheme (_body _params)
|
||||
"NO-OP to silence warnings." nil))
|
||||
|
||||
(with-eval-after-load 'ob-latex
|
||||
(setopt
|
||||
|
Loading…
Reference in New Issue
Block a user