]> git.eshelyaron.com Git - emacs.git/commitdiff
Add alias for removed font-lock function
authorBenson Chu <bensonchu457@gmail.com>
Wed, 21 Dec 2022 23:41:32 +0000 (17:41 -0600)
committerEli Zaretskii <eliz@gnu.org>
Thu, 22 Dec 2022 08:57:34 +0000 (10:57 +0200)
As part of 18947103fabf8070738b3bd9c5a8d02f90988a3d,
`font-lock-fontify-syntactically-region' was renamed to
`font-lock-default-fontify-sytactically'.

* lisp/font-lock.el (font-lock-fontify-syntactically-region): Add
obsolete alias for the renamed function.

Copyright-paperwork-exempt: yes

lisp/font-lock.el

index bf9a179d6ae414d693115c51292d90188b8d9225..2dfbe3ad232661911c63cd6ce1b4965ea2ccbe76 100644 (file)
@@ -2361,6 +2361,7 @@ in which C preprocessor directives are used, e.g. `asm-mode' and
 
 (define-obsolete-function-alias 'font-lock-after-fontify-buffer #'ignore "29.1")
 (define-obsolete-function-alias 'font-lock-after-unfontify-buffer #'ignore "29.1")
+(define-obsolete-function-alias 'font-lock-fontify-syntactically-region #'font-lock-default-fontify-syntactically "29.1")
 
 \f
 (provide 'font-lock)