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/
This commit is contained in:
parent
bc3f385c97
commit
faf8ce7dee
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue