Mercurial > emacs
comparison lisp/textmodes/bibtex-style.el @ 105957:25e1d7e37015
* widget.el (define-widget): Purecopy the docstring.
* international/mule-cmds.el (charset): Do not purecopy the
docstring here, define-widget does it.
* textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
* textmodes/bibtex-style.el (auto-mode-alist):
* progmodes/inf-lisp.el (inferior-lisp-prompt):
* progmodes/compile.el (compile-command):
* language/korea-util.el (default-korean-keyboard):
* international/mule-conf.el (file-coding-system-alist):
* emacs-lisp/eldoc.el (eldoc-minor-mode-string):
* tooltip.el (tooltip-frame-parameters):
* newcomment.el (comment-end, comment-padding):
* dired.el (dired-trivial-filenames):
* comint.el (comint-file-name-prefix): Purecopy initial values.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Wed, 11 Nov 2009 19:24:20 +0000 |
parents | a9dc0e7c3f2b |
children | ea646047455b |
comparison
equal
deleted
inserted
replaced
105956:31f80330b77b | 105957:25e1d7e37015 |
---|---|
61 `((,(regexp-opt bibtex-style-commands 'words) . font-lock-keyword-face) | 61 `((,(regexp-opt bibtex-style-commands 'words) . font-lock-keyword-face) |
62 ("\\w+\\$" . font-lock-keyword-face) | 62 ("\\w+\\$" . font-lock-keyword-face) |
63 ("\\<\\(FUNCTION\\|MACRO\\)\\s-+{\\([^}\n]+\\)}" | 63 ("\\<\\(FUNCTION\\|MACRO\\)\\s-+{\\([^}\n]+\\)}" |
64 (2 font-lock-function-name-face)))) | 64 (2 font-lock-function-name-face)))) |
65 | 65 |
66 ;;;###autoload (add-to-list 'auto-mode-alist '("\\.bst\\'" . bibtex-style-mode)) | 66 ;;;###autoload (add-to-list 'auto-mode-alist (cons (purecopy "\\.bst\\'") 'bibtex-style-mode)) |
67 | 67 |
68 ;;;###autoload | 68 ;;;###autoload |
69 (define-derived-mode bibtex-style-mode nil "BibStyle" | 69 (define-derived-mode bibtex-style-mode nil "BibStyle" |
70 "Major mode for editing BibTeX style files." | 70 "Major mode for editing BibTeX style files." |
71 (set (make-local-variable 'comment-start) "%") | 71 (set (make-local-variable 'comment-start) "%") |