[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 11c504c 1/2: Define compat alias obsolete

From: Stefan Kangas
Subject: master 11c504c 1/2: Define compat alias obsolete
Date: Thu, 28 Jan 2021 15:37:14 -0500 (EST)

branch: master
commit 11c504c9d2742cd7b19a2ed188b6545c9e86d206
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Define compat alias obsolete
    * lisp/generic-x.el (generic-mode-ini-file-find-file-hook): Define
    compat alias introduced after rename in 22.1 obsolete.
 lisp/generic-x.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/generic-x.el b/lisp/generic-x.el
index bd03f28..0063cb7 100644
--- a/lisp/generic-x.el
+++ b/lisp/generic-x.el
@@ -416,7 +416,8 @@ like an INI file.  You can add this hook to 
         (goto-char (point-min))
         (and (looking-at "^\\s-*\\[.*\\]")
-(defalias 'generic-mode-ini-file-find-file-hook 
+(define-obsolete-function-alias 'generic-mode-ini-file-find-file-hook
+  #'ini-generic-mode-find-file-hook "28.1"))
 ;;; Windows REG files
 ;;; Unfortunately, Windows 95 and Windows NT have different REG file syntax!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]