Merge remote-tracking branch 'origin/master' into feature/android

This commit is contained in:
Po Lu 2023-02-06 22:03:40 +08:00
commit 85d225df87
3 changed files with 753 additions and 691 deletions

File diff suppressed because it is too large Load diff

View file

@ -488,7 +488,7 @@ places where they originally did not directly appear."
(_ (pcase cif
('nil nil)
(`#',f
(setf (cadr (car bf)) (if wrapped (nth 2 f) f))
(setf (cadr (car bf)) (if wrapped (nth 2 f) cif))
(setq cif nil))
;; The interactive form needs special treatment, so the form
;; inside the `interactive' won't be used any further.

View file

@ -5915,19 +5915,21 @@ comment at the start of cc-engine.el for more info."
(cond
((> pos start) ; Nothing but literals
base)
((> base (point-min))
((and
(> base (point-min))
(> (- base try-size) (point-min))) ; prevent infinite recursion.
(c-determine-limit how-far-back base (* 2 try-size) org-start))
(t base)))
((>= count how-far-back)
(c-determine-limit-no-macro
(+ (car elt) (- count how-far-back))
org-start))
(+ (car elt) (- count how-far-back))
org-start))
((eq base (point-min))
(point-min))
((> base (- start try-size)) ; Can only happen if we hit point-min.
(c-determine-limit-no-macro
(car elt)
org-start))
(car elt)
org-start))
(t
(c-determine-limit (- how-far-back count) base (* 2 try-size)
org-start))))))