unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] Added alias for removed font-lock function
@ 2022-12-22  0:11 Benson Chu
  2022-12-22  9:01 ` Eli Zaretskii
  2022-12-22 14:49 ` Stefan Monnier
  0 siblings, 2 replies; 8+ messages in thread
From: Benson Chu @ 2022-12-22  0:11 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

Hello, 

I build Emacs off of master regularly, and recently found that while
using the font-lock-studio package, one function in lisp/font-lock.el
was renamed.

I've added a define-obsolete-function-alias for the renamed function,
and have attached a patch to this email. Is this the right way to
submit a patch? 

Thanks!

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Added-alias-for-removed-font-lock-function.patch --]
[-- Type: text/x-patch; name="0001-Added-alias-for-removed-font-lock-function.patch", Size: 1025 bytes --]

From 280e7fb7f233ee50efeb4995361a5e67a8006c9c Mon Sep 17 00:00:00 2001
From: Benson Chu <bensonchu457@gmail.com>
Date: Wed, 21 Dec 2022 17:41:32 -0600
Subject: [PATCH] Added alias for removed font-lock function
To: emacs-devel@gnu.org

As part of 18947103fabf8070738b3bd9c5a8d02f90988a3d,
`font-lock-fontify-syntactically-region' was renamed to
`font-lock-default-fontify-sytactically'.

* lisp/font-lock.el: added obselete alias for renamed function
---
 lisp/font-lock.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index bf9a179d6ae..2dfbe3ad232 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -2361,6 +2361,7 @@ cpp-font-lock-keywords
 
 (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)
-- 
2.39.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-01-08 11:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-22  0:11 [PATCH] Added alias for removed font-lock function Benson Chu
2022-12-22  9:01 ` Eli Zaretskii
2022-12-22 14:49 ` Stefan Monnier
2023-01-01  4:53   ` Benson Chu
2023-01-01  4:57     ` Benson Chu
2023-01-07  8:52       ` Eli Zaretskii
2023-01-07 15:38         ` Stefan Monnier
2023-01-08 11:45           ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).