]> git.eshelyaron.com Git - emacs.git/commitdiff
Define compat alias obsolete
authorStefan Kangas <stefan@marxist.se>
Thu, 28 Jan 2021 20:28:03 +0000 (21:28 +0100)
committerStefan Kangas <stefan@marxist.se>
Thu, 28 Jan 2021 20:34:31 +0000 (21:34 +0100)
* 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

index bd03f287fc7d223d63da6a3008b63c0324b4e876..0063cb73b3b0fd6098b3fb54516a1b5db2b3eef5 100644 (file)
@@ -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!