From: "Benson Chu" <bensonchu457@gmail.com>
To: emacs-devel@gnu.org
Subject: [PATCH] Added alias for removed font-lock function
Date: Wed, 21 Dec 2022 18:11:50 -0600 [thread overview]
Message-ID: <49cdc78c-f4f4-4300-982c-ad1909da3547@app.fastmail.com> (raw)
[-- 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
next reply other threads:[~2022-12-22 0:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-22 0:11 Benson Chu [this message]
2022-12-22 9:01 ` [PATCH] Added alias for removed font-lock function 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49cdc78c-f4f4-4300-982c-ad1909da3547@app.fastmail.com \
--to=bensonchu457@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).