From 2cef1fdbe2b2aa40a2bb081eab4b2e2808000670 Mon Sep 17 00:00:00 2001 From: Karl Fogel Date: Thu, 31 Mar 2022 19:02:38 -0500 Subject: [PATCH] lisp/org-macs.el: Fix spelling of `org-truly-invisible-p' * lisp/org-macs.el (org-truly-invisible-p): Fix spelling of name. * lisp/org-compat.el (org-truely-invisible-p): Add compatibility alias for the old name. --- lisp/org-compat.el | 4 ++++ lisp/org-macs.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git lisp/org-compat.el lisp/org-compat.el index 38d330de6..00716ae13 100644 --- lisp/org-compat.el +++ lisp/org-compat.el @@ -752,6 +752,10 @@ context. See the individual commands for more information." (define-obsolete-function-alias 'org-get-last-sibling 'org-get-previous-sibling "9.4") +(define-obsolete-function-alias 'org-truely-invisible-p + 'org-truly-invisible-p "9.6" + "Compatibility alias for legacy misspelling of `org-truly-invisible-p'.") + ;;;; Obsolete link types (eval-after-load 'ol diff --git lisp/org-macs.el lisp/org-macs.el index b39af9103..a09115e7c 100644 --- lisp/org-macs.el +++ lisp/org-macs.el @@ -1151,7 +1151,7 @@ fontification." (folding-only (memq value '(org-hide-block outline))) (t value)))) -(defun org-truely-invisible-p () +(defun org-truly-invisible-p () "Check if point is at a character currently not visible. This version does not only check the character property, but also `visible-mode'." -- 2.35.1