]> git.eshelyaron.com Git - emacs.git/commitdiff
Make Emacs 21 compat alias obsolete
authorStefan Kangas <stefankangas@gmail.com>
Tue, 29 Aug 2023 16:49:02 +0000 (18:49 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Tue, 29 Aug 2023 16:50:32 +0000 (18:50 +0200)
* lisp/loadhist.el (loadhist-hook-functions): Make Emacs 21
compatibility alias obsolete.

lisp/loadhist.el

index eb87016695c57db3651297333595a80336259cca..3800ea70ea4f7286d84c2c524c246106b87e21a9 100644 (file)
@@ -1,6 +1,6 @@
 ;;; loadhist.el --- lisp functions for working with feature groups  -*- lexical-binding: t -*-
 
-;; Copyright (C) 1995, 1998, 2000-2023 Free Software Foundation, Inc.
+;; Copyright (C) 1995-2023 Free Software Foundation, Inc.
 
 ;; Author: Eric S. Raymond <esr@thyrsus.com>
 ;; Maintainer: emacs-devel@gnu.org
@@ -108,7 +108,8 @@ from a file."
                               features))
                      features)))))
 
-(defvaralias 'loadhist-hook-functions 'unload-feature-special-hooks)
+(define-obsolete-variable-alias 'loadhist-hook-functions
+  'unload-feature-special-hooks "30.1")
 (defvar unload-feature-special-hooks
   '(after-change-functions after-insert-file-functions
     after-make-frame-functions auto-coding-functions