Ihor Radchenko writes:

> Paul Eggert <[email protected]> writes:
>
>> I just installed some spelling fixes into Emacs master. Some of the 
>> fixes apply to Org-mode, and I'm attaching them. Most of the changes are 
>> to comments. Part of the idea is to stick with American spelling (the 
>> Emacs style). Please integrate them into Org-mode when it's convenient.
>
> Applied, onto main, on your behalf.
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9ccf56b3c
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=90ce752f3

90ce752f3 doesn't include the
org-fold-core-remove-{optimisation => optimization} rename from the
patch in <[email protected]>.

Based on the patch (and on the original Emacs commit, 481ad70d5cb), I
expected 90ce752f3 to also include the changes below.  Were those
intentionally left out?

-- >8 --
diff --git a/lisp/org-fold-core.el b/lisp/org-fold-core.el
index 238815bbc..97cc88ce9 100644
--- a/lisp/org-fold-core.el
+++ b/lisp/org-fold-core.el
@@ -1624,7 +1624,7 @@ (define-obsolete-function-alias
   'org-fold-core-update-optimisation
   #'org-fold-core-update-optimization "9.8")
 
-(defun org-fold-core-remove-optimisation (beg end)
+(defun org-fold-core-remove-optimization (beg end)
   "Remove huge buffer optimization between BEG and END.
 See `org-fold-core--optimize-for-huge-buffers'."
   (when (and (memql 'grab-invisible org-fold-core--optimize-for-huge-buffers)
@@ -1636,6 +1636,9 @@ (defun org-fold-core-remove-optimisation (beg end)
             (remove-text-properties pos 
(org-fold-core-next-folding-state-change (caar org-fold-core--specs) pos end)
                                     '(invisible t)))
         (setq pos (org-fold-core-next-folding-state-change (caar 
org-fold-core--specs) pos end))))))
+(define-obsolete-function-alias
+  'org-fold-core-remove-optimisation
+  #'org-fold-core-remove-optimization "9.8")
 
 (provide 'org-fold-core)
 


Reply via email to