Only require font-lock when compiling.
Define all modes conditionally.
Place all generic modes in the generic-x-modes customization group.
(generic-x-modes): New customization group.
(generic-default-modes, generic-mswindows-modes)
(generic-unix-modes, generic-other-modes): New constants.
(generic-define-mswindows-modes, generic-define-unix-modes):
Update docstrings. Make them obsolete.
(generic-extras-enable-list): New default value. Update
docstring. Improve :type. Change :set function.
(bat-generic-mode-syntax-table, rul-generic-mode-syntax-table):
Fix docstring.
Rename to ini-generic-mode-find-file-hook.
Keep generic-mode-ini-file-find-file-hook as an alias.
(ini-generic-mode-find-file-hook): Rename from
generic-mode-ini-file-find-file-hook. Fix docstring.
(ini-generic-mode): Docstring change.
(bat-generic-mode-run-as-comint): Silence the byte compiler.
throughout.
(mailagent-rules-setup-function): Delete it.
(mailagent-rules-generic-mode): Use anonymous function instead.
(show-tabs-generic-mode-font-lock-defaults-1)
(show-tabs-generic-mode-font-lock-defaults-2): Make them constants.
Quote faces.
(show-tabs-tab-face, show-tabs-space-face): Specify background,
not foreground.
(installshield-statement-keyword-list)
(installshield-system-functions-list)
(installshield-system-variables-list, installshield-types-list)
(installshield-funarg-constants-list): Make them constants.
Regexp now allows leading whitespace.
(rc-generic-mode): Added eval-when-compile
around generic-make-keywords-list.
Deleted duplicate regexp
(rul-generic-mode): Added eval-when-compile
around generic-make-keywords-list.
(etc-fstab-generic-mode): New generic mode.
Change font-lock-reference-face to font-lock-constant-face throughout.
(resolve-conf-generic-mode): Added this mode.
(named-database-generic-mode): Added this mode.
(named-boot-generic-mode): Added this mode.
(apache-conf-generic-mode): Added Directories and Locations to imenu-generic-expression.
(generic-define-mswindows-modes): Added apache-conf-generic-mode and apache-log-generic-mode.
(generic-define-unix-modes): Added apache-conf-generic-mode and apache-log-generic-mode.
(apache-conf-generic-mode): This new mode replaces apache-generic-mode.
(apache-log-generic-mode): Added this generic-mode
need to begin with "-". Fix the font-lock definitions of ON/OFF
after BREAK/VERIFY. Remove built-in commands like CALL and ECHO
from the list of keywords. Add DO to the list of keywords.
inetd-conf-generic-mode, etc-services-generic-mode,
etc-passwd-generic-mode. These are all defined for Unix by default.
(apache-generic-mode): Use an imenu-generic-expression to list
Configuration keywords.
(samba-generic-mode): Use both ; and # as comment characters.
(samba-generic-mode): Font-lock expressions now highlight name value pairs.
(bat-generic-mode): Keywords are now case-insensitive through
font-lock-defaults setting.
(java-properties-generic-mode): Supports both ! and # as comment characters.
(java-properties-generic-mode): Added an imenu-generic-expression
(java-properties-generic-mode): Reworked to support the various
different ways to separate name and value (viz, '=', ':' and whitespace).
(show-tabs-generic-mode): Added this new generic-mode.
(generic-bat-mode-setup-function): Fixed comment-start variable.
(generic-define-mswindows-modes): Enable
hosts-generic-mode and apache-generic-mode.
(generic-define-unix-modes): Enable alias-generic-mode.
(java-properties-generic-mode): Changed regexp to allow property
and value to be separated by whitespace or an equal sign.
(alias-generic-mode): Check generic-extras-enable-list before
defining this mode.
(installshield-statement-keyword-list): New variable.
(installshield-system-functions-list): Likewise.
(installshield-system-variables-list): Likewise.
(installshield-types-list): Likewise.
(installshield-funarg-constants-list): Likewise.
(rul-generic-mode): Uses the variables listed above instead of
hard-coding the lists of keywords.