add save-restriction support

This commit is contained in:
Andrea Corallo 2019-08-11 14:10:57 +02:00 committed by Andrea Corallo
parent bdadeff503
commit 7dc99d5d51
2 changed files with 22 additions and 5 deletions

View file

@ -642,14 +642,15 @@ the annotation emission."
(byte-save-excursion
(comp-emit '(call record_unwind_protect_excursion)))
(byte-save-window-excursion-OBSOLETE)
(byte-save-restriction)
(byte-catch)
(byte-save-restriction
'(call helper-save-restriction))
(byte-catch) ;; Obsolete
(byte-unwind-protect
(comp-emit `(call helper_unwind_protect ,(comp-slot-next))))
(byte-condition-case)
(byte-condition-case) ;; Obsolete
(byte-temp-output-buffer-setup-OBSOLETE)
(byte-temp-output-buffer-show-OBSOLETE)
(byte-unbind-all)
(byte-unbind-all) ;; Obsolete
(byte-set-marker auto)
(byte-match-beginning auto)
(byte-match-end auto)