summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuan Fu <casouri@gmail.com>2026-04-16 23:58:56 -0700
committerGitHub <noreply@github.com>2026-04-16 23:58:56 -0700
commitc63faceba523f22f73df152cffcd54c41f997acd (patch)
tree4f45cc2ebc887a4b99971c16ecfef2120351bb62
parentf0b55446a927beaee9e3cbf8b9eb2030cbe55b38 (diff)
parent6fa7770773477792d5b9571d37f31c2b5ab431f1 (diff)
Merge pull request #38 from yours57/fix-org-block-composite-faceexternals/valign
Fix org-block detection for composite faces
-rw-r--r--valign.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/valign.el b/valign.el
index cec7ce0..b7881ba 100644
--- a/valign.el
+++ b/valign.el
@@ -531,7 +531,7 @@ TYPE must be 'org. Start at point, stop at LIMIT."
(let ((face (plist-get (text-properties-at (point)) 'face)))
;; Don’t align tables in org blocks.
(not (and (consp face)
- (or (equal face '(org-block))
+ (or (memq 'org-block face)
(equal (plist-get face :inherit)
'(org-block))))))))