From 3fb2a3c240afa3bf5f574c45ed99be3f56a997ac Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Mon, 28 Aug 2023 21:58:36 +0200 Subject: [PATCH] Make Emacs 21 compat alias obsolete * lisp/jit-lock.el (jit-lock-defer-contextually): Make Emacs 21 compat alias obsolete. --- lisp/jit-lock.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/jit-lock.el b/lisp/jit-lock.el index 452cbd1ca51..d0522d6a791 100644 --- a/lisp/jit-lock.el +++ b/lisp/jit-lock.el @@ -1,6 +1,6 @@ ;;; jit-lock.el --- just-in-time fontification -*- lexical-binding: t -*- -;; Copyright (C) 1998, 2000-2023 Free Software Foundation, Inc. +;; Copyright (C) 1998-2023 Free Software Foundation, Inc. ;; Author: Gerd Moellmann ;; Keywords: faces files @@ -90,7 +90,8 @@ See also `jit-lock-stealth-nice'." :type 'boolean) -(defvaralias 'jit-lock-defer-contextually 'jit-lock-contextually) +(define-obsolete-variable-alias 'jit-lock-defer-contextually + 'jit-lock-contextually "30.1") (defcustom jit-lock-contextually 'syntax-driven "If non-nil, fontification should be syntactically true. If nil, refontification occurs only on lines that were modified. This -- 2.39.5