| Server IP : 217.160.0.212 / Your IP : 216.73.217.5 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/emacs-lisp/ |
Upload File : |
;ELC ;;; Compiled ;;; in Emacs version 28.2 ;;; with all optimizations. #@54 Keywords for `font-lock-defaults' in a generic mode. (defvar generic-font-lock-keywords nil (#$ . 84)) (make-variable-buffer-local 'generic-font-lock-keywords) #@131 A list of mode names for `generic-mode'. Do not add entries to this list directly; use `define-generic-mode' instead (which see). (defvar generic-mode-list nil (#$ . 251)) #@1697 Create a new generic mode MODE. A "generic" mode is a simple major mode with basic support for comment syntax and Font Lock mode, but otherwise does not have any special keystrokes or functionality available. MODE is the name of the command for the generic mode; don't quote it. The optional DOCSTRING is the documentation for the mode command. If you do not supply it, `define-generic-mode' uses a default documentation string instead. COMMENT-LIST is a list in which each element is either a character, a string of one or two characters, or a cons cell. A character or a string is set up in the mode's syntax table as a "comment starter". If the entry is a cons cell, the `car' is set up as a "comment starter" and the `cdr' as a "comment ender". (Use nil for the latter if you want comments to end at the end of the line.) Note that the syntax table has limitations about what comment starters and enders are actually possible. KEYWORD-LIST is a list of keywords to highlight with `font-lock-keyword-face'. Each keyword should be a string. FONT-LOCK-LIST is a list of additional expressions to highlight. Each element of this list should have the same form as an element of `font-lock-keywords'. AUTO-MODE-LIST is a list of regular expressions to add to `auto-mode-alist'. These regular expressions are added when Emacs runs the macro expansion. FUNCTION-LIST is a list of functions to call to do some additional setup. The mode command calls these functions just before it runs the mode hook `MODE-hook'. See the file generic-x.el for some examples of `define-generic-mode'. (fn MODE COMMENT-LIST KEYWORD-LIST FONT-LOCK-LIST AUTO-MODE-LIST FUNCTION-LIST &optional DOCSTRING) (defalias 'define-generic-mode '(macro . #[1798 "\242\300=\203 \301!\262\302!\303\304\305\306#!\307\310\311E\312\313D\310\314\315\313\300DEEE\316\f\317\206>