branch: externals/org commit faf8ce7dee52f4473134376dd243c34130e50915 Author: Ihor Radchenko <yanta...@gmail.com> Commit: Ihor Radchenko <yanta...@gmail.com>
org-element--cache-sync: Ignore some more silent changes * lisp/org-element.el (org-element--cache-sync): Add heuristics skipping silent buffer changes made by quail.el when inserting "S-\" using computer-russian input method. Reported in https://list.orgmode.org/smre9o$hn1$1...@ciao.gmane.io/ --- lisp/org-element.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/org-element.el b/lisp/org-element.el index 70f00ca..6e228d4 100644 --- a/lisp/org-element.el +++ b/lisp/org-element.el @@ -5821,6 +5821,9 @@ updated before current modification are actually submitted." ;; edit. (/= (buffer-chars-modified-tick) (buffer-modified-tick)) + ;; FIXME: Similar for "S-\" in russian-computer input. + (not (= (buffer-chars-modified-tick) + (- (buffer-modified-tick) 6))) ;; FIXME: Another heuristics noticed by observation. ;; `replace-match' in `org-toggle-heading' in Emacs <28 ;; makes safe silent changes when first letter in the