>From 2289e6cd9f27bee04fa9004d757b23d3f1ef9e9c Mon Sep 17 00:00:00 2001 From: Joseph Turner Date: Sun, 25 Aug 2024 21:20:06 -0700 Subject: [PATCH] lisp/org.el: Fix removing timestamp overlays --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index d5c1dcb35..9e80c4b70 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -14614,7 +14614,7 @@ (defun org-toggle-timestamp-overlays () (let ((p (point-min)) (bmp (buffer-modified-p))) (while (setq p (next-single-property-change p 'display)) (when (and (get-text-property p 'display) - (eq (get-text-property p 'face) 'org-date)) + (memq 'org-date (get-text-property p 'face))) (remove-text-properties p (setq p (next-single-property-change p 'display)) '(display t)))) -- 2.41.0