obsolete/dict-c5-mode.el
changeset 330 0ec3b8e40eaa
parent 329 410c26a389a6
child 331 b69b69ac7457
equal deleted inserted replaced
329:410c26a389a6 330:0ec3b8e40eaa
    20 ;; (define-key dict-c5-mode-map (kbd "RET") 'my-xxx)
    20 ;; (define-key dict-c5-mode-map (kbd "RET") 'my-xxx)
    21 
    21 
    22 (defvar dict-c5-font-lock-keywords
    22 (defvar dict-c5-font-lock-keywords
    23 ;; (setq dict-c5-font-lock-keywords
    23 ;; (setq dict-c5-font-lock-keywords
    24       '(
    24       '(
    25         ("^\\(_\\{5,\\}\\)\n\n\\(\\w[^\n]*\\)$"
    25         ("^\\(_\\{5,\\}\\)\n\n\\(\\w.*\\)$"
    26          (1 font-lock-function-name-face) (2 font-lock-keyword-face))
    26          (1 font-lock-function-name-face) (2 font-lock-keyword-face))
    27         ("\\[[^]]+]" . font-lock-type-face)
    27         ("\\[[^]]+]" . font-lock-type-face)
    28         ))
    28         ))
    29 
    29 
    30 (defun dict-c5-font-lock-extend-region ()
    30 (defun dict-c5-font-lock-extend-region ()