From 4a43d570b5424dadfda74996bddc4982aadafe37 Mon Sep 17 00:00:00 2001 Message-Id: <4a43d570b5424dadfda74996bddc4982aadafe37.1654826554.git.yantar92@gmail.com> From: Ihor Radchenko Date: Fri, 10 Jun 2022 10:01:10 +0800 Subject: [PATCH] Fix example blocks with unsupported language name parameter * org-contrib/babel/languages/ob-doc-shell.org (Requirements and Setup): * org-hacks.org (Reschedule agenda items to today with a single command): * org-tutorials/org-jekyll.org (Creating an org File to be Published with Jekyll): (Showing Blog Posts on the Front Page): (Creating Archive Pages): (Inserting Image): (Using Text Markup in Front Matte): Remove LANG in #+begin_example LANG. --- org-contrib/babel/languages/ob-doc-shell.org | 2 +- org-hacks.org | 2 +- org-tutorials/org-jekyll.org | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/org-contrib/babel/languages/ob-doc-shell.org b/org-contrib/babel/languages/ob-doc-shell.org index 730f63d7..e7d728b3 100644 --- a/org-contrib/babel/languages/ob-doc-shell.org +++ b/org-contrib/babel/languages/ob-doc-shell.org @@ -179,7 +179,7 @@ * Requirements and Setup 2. The Org Babel language facility must be set to load shell functionality[fn:5]: - #+begin_example emacs-lisp + #+begin_example ;; active Babel languages (org-babel-do-load-languages 'org-babel-load-languages diff --git a/org-hacks.org b/org-hacks.org index 968e511d..d446de9b 100644 --- a/org-hacks.org +++ b/org-hacks.org @@ -2196,7 +2196,7 @@ *** Reschedule agenda items to today with a single command #+index: Agenda!Reschedule This was suggested by Carsten in reply to David Abrahams: -#+begin_example emacs-lisp +#+begin_example (defun org-agenda-reschedule-to-today () (interactive) (flet ((org-read-date (&rest rest) (current-time))) diff --git a/org-tutorials/org-jekyll.org b/org-tutorials/org-jekyll.org index 4da2d5ad..a0c57991 100644 --- a/org-tutorials/org-jekyll.org +++ b/org-tutorials/org-jekyll.org @@ -172,7 +172,7 @@ * Creating an org File to be Published with Jekyll Below is a short extract from one of my org files showing my setup: -#+BEGIN_EXAMPLE org +#+BEGIN_EXAMPLE #+STARTUP: showall indent #+STARTUP: hidestars #+BEGIN_EXPORT html @@ -254,7 +254,7 @@ ** Showing Blog Posts on the Front Page Most blogs show the latest posts on their front page. The example below shows the title and an excerpt for the five latest posts: -#+BEGIN_EXAMPLE html +#+BEGIN_EXAMPLE