; Fix my previous commit

* lisp/generic-x.el (generic-mode-ini-file-find-file-hook): Fix my
previous commit; for some reason 'function' produces a warning here
while 'quote' does not.
This commit is contained in:
Stefan Kangas 2021-01-28 21:55:31 +01:00
parent 554ec932ba
commit ae7fe263b2

View file

@ -412,7 +412,7 @@ like an INI file. You can add this hook to `find-file-hook'."
(and (looking-at "^\\s-*\\[.*\\]")
(ini-generic-mode)))))
(define-obsolete-function-alias 'generic-mode-ini-file-find-file-hook
#'ini-generic-mode-find-file-hook "28.1"))
'ini-generic-mode-find-file-hook "28.1"))
;;; Windows REG files
;;; Unfortunately, Windows 95 and Windows NT have different REG file syntax!