]> git.eshelyaron.com Git - emacs.git/commitdiff
Make Emacs 21 compat alias obsolete
authorStefan Kangas <stefankangas@gmail.com>
Mon, 28 Aug 2023 19:58:36 +0000 (21:58 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Mon, 28 Aug 2023 20:03:22 +0000 (22:03 +0200)
* lisp/jit-lock.el (jit-lock-defer-contextually): Make Emacs 21 compat
alias obsolete.

lisp/jit-lock.el

index 452cbd1ca51e66bb582b6bec7a9cfff9167d0103..d0522d6a791b335886e4d4c151fba625c3e00391 100644 (file)
@@ -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 <gerd@gnu.org>
 ;; 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