From: "Mark E. Shoulson" <mark@shoulson.com>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: [PATCH] strike-through text in tables
Date: Thu, 5 Mar 2020 10:30:48 -0500 [thread overview]
Message-ID: <c71a7395-68fb-2d36-3c73-10e33e70dc98@kli.org> (raw)
[-- Attachment #1: Type: text/html, Size: 1817 bytes --]
[-- Attachment #2: 0001-org-faces.el-Add-org-strike-through-face.patch --]
[-- Type: text/x-patch, Size: 1500 bytes --]
From 9a489ddf9d411bfc907a5b765d015e757b0b6903 Mon Sep 17 00:00:00 2001
From: "Mark E. Shoulson" <mark@kli.org>
Date: Thu, 5 Mar 2020 10:03:37 -0500
Subject: [PATCH] org-faces.el: Add org-strike-through face
org-faces.el: Create org-strike-through face.
org.el: Use org-strike-through-face in org-emphasis-alist.
---
lisp/org-faces.el | 4 ++++
lisp/org.el | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/lisp/org-faces.el b/lisp/org-faces.el
index d78b606ec..107ea9763 100644
--- a/lisp/org-faces.el
+++ b/lisp/org-faces.el
@@ -427,6 +427,10 @@ For source-blocks `org-src-block-faces' takes precedence."
:group 'org-faces
:version "22.1")
+(defface org-strike-through '((t (:strike-through t)))
+ "Face for struck-through text."
+ :group 'org-faces)
+
(defface org-quote '((t (:inherit org-block)))
"Face for #+BEGIN_QUOTE ... #+END_QUOTE blocks.
Active when `org-fontify-quote-and-verse-blocks' is set."
diff --git a/lisp/org.el b/lisp/org.el
index 31133c554..8b27e4708 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -3677,7 +3677,7 @@ You need to reload Org or to restart Emacs after setting this.")
("_" underline)
("=" org-verbatim verbatim)
("~" org-code verbatim)
- ("+" (:strike-through t)))
+ ("+" org-strike-through))
"Alist of characters and faces to emphasize text.
Text starting and ending with a special character will be emphasized,
for example *bold*, _underlined_ and /italic/. This variable sets the
--
2.24.1
next reply other threads:[~2020-03-05 15:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-05 15:30 Mark E. Shoulson [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-03-10 22:56 [PATCH] strike-through text in tables Mark E. Shoulson
2020-03-10 23:10 ` Bastien
2020-05-22 15:50 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c71a7395-68fb-2d36-3c73-10e33e70dc98@kli.org \
--to=mark@shoulson.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).