summaryrefslogtreecommitdiff
path: root/lisp/generic-x.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-01-28 21:28:03 +0100
committerStefan Kangas <stefan@marxist.se>2021-01-28 21:34:31 +0100
commit11c504c9d2742cd7b19a2ed188b6545c9e86d206 (patch)
treeb023f51d23f0be99dd730f5c4ef90e235eb0d19b /lisp/generic-x.el
parentc8c4d65d6510724acd40527a9af67e21e3cf4d5e (diff)
downloademacs-11c504c9d2742cd7b19a2ed188b6545c9e86d206.tar.gz
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.
Diffstat (limited to 'lisp/generic-x.el')
-rw-r--r--lisp/generic-x.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/generic-x.el b/lisp/generic-x.el
index bd03f287fc7..0063cb73b3b 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 `find-file-hook'."
(goto-char (point-min))
(and (looking-at "^\\s-*\\[.*\\]")
(ini-generic-mode)))))
-(defalias 'generic-mode-ini-file-find-file-hook 'ini-generic-mode-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!