Mercurial > emacs
comparison lisp/generic.el @ 60849:cb4033032773
(generic-make-keywords-list): Add autoload cookie.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Wed, 23 Mar 2005 10:27:15 +0000 |
parents | 1771db839aa6 |
children | 92071f8a7671 13796b0653c7 |
comparison
equal
deleted
inserted
replaced
60848:aaa537d43c7b | 60849:cb4033032773 |
---|---|
405 (ini-generic-mode))))) | 405 (ini-generic-mode))))) |
406 | 406 |
407 (and generic-use-find-file-hook | 407 (and generic-use-find-file-hook |
408 (add-hook 'find-file-hooks 'generic-mode-find-file-hook)) | 408 (add-hook 'find-file-hooks 'generic-mode-find-file-hook)) |
409 | 409 |
410 ;;;###autoload | |
410 (defun generic-make-keywords-list (keywords-list face &optional prefix suffix) | 411 (defun generic-make-keywords-list (keywords-list face &optional prefix suffix) |
411 "Return a regular expression matching the specified KEYWORDS-LIST. | 412 "Return a regular expression matching the specified KEYWORDS-LIST. |
412 The regexp is highlighted with FACE." | 413 The regexp is highlighted with FACE." |
413 (unless (listp keywords-list) | 414 (unless (listp keywords-list) |
414 (error "Keywords argument must be a list of strings")) | 415 (error "Keywords argument must be a list of strings")) |