1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
Commit Graph

26 Commits

Author SHA1 Message Date
Richard M. Stallman
1d7bfe8402 (define-generic-mode): Doc fix. 2004-11-27 19:01:41 +00:00
Stefan Monnier
0e7acedf7b (generic-mode-set-comments): Accept an empty comment-end. 2004-11-24 15:20:38 +00:00
Miles Bader
5c2137b83c Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-549
Use symbol-matching for generic-mode keywords

2004-09-15  Miles Bader  <miles@gnu.org>

   * lisp/generic.el (generic-make-keywords-list): Use symbol rather than
   word anchors in regexp.
2004-09-15 04:04:10 +00:00
Juanma Barranquero
71507e4752 (define-generic-mode): Remove redundant arglist info. 2004-05-12 20:22:41 +00:00
Richard M. Stallman
21b22cf984 (define-generic-mode): Doc fix. 2003-12-29 19:12:40 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Stefan Monnier
1ac1fa9626 (generic-mode-set-comments): Use "" rather than nil for comment-end. 2001-03-29 14:16:37 +00:00
Eli Zaretskii
fb339cd5b6 (generic-find-file-regexp): Doc fix.
(generic-ignore-files-regexp): New defcustom.
(generic-mode-find-file-hook): If the file's name matches the
regexp in `generic-ignore-files-regexp', don't enter
default-generic-mode.  Doc fix.
2001-02-16 14:36:39 +00:00
Stefan Monnier
3ad93d8dc4 (generic-read-type): Undo last change, inline into
`generic-mode' and then remove.
(generic-mode): Inline generic-read-type.
(define-generic-mode): Push the symbol name rather than the symbol
onto generic-mode-list.
2000-12-21 23:26:09 +00:00
Gerd Moellmann
766a82a0e1 Build an alist for completing-read as in 20.7. 2000-12-21 16:39:28 +00:00
Peter Breton
9a7f629dd7 * generic.el:
Incorporates extensive cleanup and docfixes by
Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
Uses cl compile-time macros.
(generic-mode-name, generic-comment-list,
generic-keywords-list, generic-font-lock-expressions,
generic-mode-function-list, generic-mode-syntax-table):
Removed variables.
(generic-mode-alist): Renamed to generic-mode-list.
(generic-find-file-regexp): Default changed to "^#".
(generic-read-type): Uses completing read on generic-mode-list.
(generic-mode-sanity-check): removed this function.
(generic-add-to-auto-mode): Removed this function
(generic-mode-internal): Binds mode-specific definitions
into function instead of putting them in alist.
(generic-mode-set-comments): Reworked extensively.
(generic-mode-find-file-hook): Simplified regexp searching
(generic-make-keywords-list):  Omit extra pair of parens
2000-10-04 05:17:12 +00:00
Dave Love
25e928b0a9 Re-write `(make-variable-buffer-local (defvar ...'
constructions.  Doc fixes.
(generic-create-generic-function): Use defalias, not fset.
1999-01-07 19:37:16 +00:00
Karl Heuer
9b544de17c (generic-mode-with-type): Added hooks for generic-modes. 1998-10-07 00:01:15 +00:00
Dan Nicolaescu
3e007e816f *** empty log message *** 1998-06-09 02:34:00 +00:00
Dan Nicolaescu
1d96c2ff76 *** empty log message *** 1998-06-03 16:40:32 +00:00
Richard M. Stallman
5204a3a0f6 (generic-make-keywords-list): Delete spurious paren. 1998-05-04 01:28:24 +00:00
Richard M. Stallman
4eea26a987 (generic): Added defgroup declaration.
(generic-make-keywords-list): Uses regexp-opt.
(generic-mode-set-font-lock): Uses regexp-opt.
1998-05-01 04:11:54 +00:00
Richard M. Stallman
6fe8a37af3 Comment changes. 1998-03-14 21:42:01 +00:00
Richard M. Stallman
728f84dcd8 (generic-mode-ini-file-find-file-hook): Use and-s instead of if-s.
(generic-use-find-file-hook): Changed from defvar to defcustom.
(generic-lines-to-scan): Changed from defvar to defcustom.
(generic-find-file-regexp): Changed from defvar to defcustom.
1998-03-06 18:45:39 +00:00
Richard M. Stallman
5027054fdd Comment change. 1998-03-03 18:18:31 +00:00
Richard M. Stallman
54138c9da6 Comment change. 1998-03-03 02:02:53 +00:00
Richard M. Stallman
02f853b5e3 Several doc fixes. 1998-03-02 03:48:45 +00:00
Richard M. Stallman
8e9caa8f15 Provide generic, not generic-mode. 1998-03-02 03:40:50 +00:00
Dave Love
c0b08eb017 Use imenu-case-fold-search. 1997-12-12 17:10:08 +00:00
Richard M. Stallman
89ada4ddee Initial revision 1997-06-15 07:01:26 +00:00