1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-29 19:48:19 +00:00
Commit Graph

9458 Commits

Author SHA1 Message Date
Richard M. Stallman
4a24b31474 (facemenu-read-color, facemenu-colors): New fn, var.
(facemenu-set-face, facemenu-set-face-from-menu,
facemenu-after-change):	Face property can take a list value; add
to it rather than completely replacing the property.
(facemenu-add-face, facemenu-discard-redundant-faces): New functions.

(facemenu-set-foreground, facemenu-set-background)
(facemenu-get-face, facemenu-foreground, facemenu-background): New
functions and variables.  Faces with names of the form fg:color
and bg:color are now treated specially.
(facemenu-update): Updated for above.
1994-10-12 23:23:23 +00:00
Richard M. Stallman
74b2c73714 (jka-compr-mode-compression-info-list): Add .tgz extension.
(jka-compr-mode-alist-additions): New variable.
(jka-compr-install): Append jka...additions to auto-mode-alist.
(jka-compr-uninstall): Remove jka-...-additions from auto-mode-alist.
1994-10-12 23:12:25 +00:00
Richard M. Stallman
cea00ac381 Comment changes. 1994-10-12 21:28:00 +00:00
David J. MacKenzie
340ff9deae Eliminate some -Wall warnings. 1994-10-12 20:21:51 +00:00
David J. MacKenzie
e2f9d9afab Make functions that return nothing void, not implicitly int.
(main): Improve usage message.
(error): Write to stderr, not stdout.
1994-10-12 19:20:24 +00:00
Simon Marshall
c4ca8d660f Removed setting of font-lock-keywords inadvertently left after last patch. 1994-10-12 16:03:28 +00:00
Richard M. Stallman
95132d1c30 (mouse-major-mode-menu): Use minor-mode-map-alist
instead of overriding-local-map.  Display equiv keys using
mouse-major-mode-menu-compute-equiv-keys.
(mouse-major-mode-menu-compute-equiv-keys): New function.

(mouse-major-mode-menu): New function, on C-mouse-3.
(mouse-major-mode-menu-1): New function
(mouse-set-font): Move it to C-mouse-2.
1994-10-12 09:27:49 +00:00
Simon Marshall
b89e113498 * font-lock.el: To make font-lock.el dumpable: (font-lock-display-type,
font-lock-background-mode, font-lock-face-attributes): Default to nil.
	(font-lock-make-faces): New function.  Set them.
	(font-lock.el): Add to after-init-hook if noninteractive or use it.
	(font-lock-maximum-size): New variable.
	(font-lock-mode): Use it to fontify only if buffer is within it.
	(font-lock-defaults, font-lock-defaults-alist): Item for syntax table.
	(font-lock-set-defaults): Set font-lock-syntax-table too.
	(lisp-font-lock-keywords-2): Fix CLisp end-of-keyword in regexp.
	(c-font-lock-keywords-*): Specific to ANSI C.
	(c++-font-lock-keywords-*): Specific to ANSI C++.
1994-10-12 09:23:37 +00:00
Simon Marshall
2ab3bf87ff * texinfo.el: (texinfo-mode): Set font-lock-defaults. 1994-10-12 09:21:47 +00:00
Simon Marshall
c156572ff2 * shell.el: (shell-font-lock-keywords): Add `\n' to [^] regexps.
(shell-mode): Set font-lock-defaults.
1994-10-12 09:18:53 +00:00
Simon Marshall
0ffb818c8f * sh-script.el: (sh-set-shell): Set font-lock-defaults. 1994-10-12 09:15:14 +00:00
Simon Marshall
2667df4284 * sendmail.el: (mail-mode): Set font-lock-defaults. 1994-10-12 09:10:05 +00:00
Simon Marshall
d16df57356 * rmailsum.el: (rmail-summary-mode): Set font-lock-defaults. 1994-10-12 09:07:32 +00:00
Simon Marshall
54e26eaa1f * rmail.el: (rmail-variables): Set font-lock-defaults. 1994-10-12 09:05:57 +00:00
Simon Marshall
cad69fcd2b * perl-mode.el: (perl-mode): Set font-lock-defaults. 1994-10-12 09:04:05 +00:00
Simon Marshall
7fa28db0ca * pascal.el: (pascal-mode): Set font-lock-defaults. 1994-10-12 09:02:43 +00:00
Simon Marshall
d31e6eafc2 * outline.el: (outline-mode): Set font-lock-defaults. 1994-10-12 09:00:56 +00:00
Simon Marshall
af4b1991f9 * makefile.el: (makefile-mode-syntax-table): Made '' and `' be
strings, and `#' be a comment.
	(makefile-font-lock-keywords): Add variable reference regexp.
	(makefile-mode): Set font-lock-defaults.
1994-10-12 08:55:27 +00:00
Simon Marshall
563f09b541 * fortran.el: (fortran-mode-syntax-table): Made `!' be a comment.
(fortran-font-lock-keywords-1, fortran-font-lock-keywords-2,
	fortran-font-lock-keywords): New variables.
	(fortran-mode): Set font-lock-defaults.
1994-10-12 08:24:50 +00:00
Richard M. Stallman
5a28e48c70 (scan_sexps_forward): At startincomment,
do notice a 2-char comment ender that straddles FROM.
1994-10-12 08:24:47 +00:00
Simon Marshall
4481ae96a9 * dired.el: (dired-mode): Set font-lock-defaults. 1994-10-12 08:16:29 +00:00
Simon Marshall
63a2daf6d0 * compile.el: (compilation-mode): Set font-lock-defaults. 1994-10-12 08:13:56 +00:00
Simon Marshall
788a3a2b22 * asm-mode.el: (asm-mode): Set font-lock-defaults. 1994-10-12 08:06:09 +00:00
Simon Marshall
4b286ecae8 * add-log.el: (change-log-mode): Set font-lock-defaults. 1994-10-12 08:04:08 +00:00
Richard M. Stallman
7e67d00b98 (mail-alias-modtime): Doc fix. 1994-10-12 08:02:20 +00:00
Simon Marshall
4cc5847583 * ada.el: (ada-mode-syntax-table): Made -' and \n' be comments.
(ada-font-lock-keywords-1, ada-font-lock-keywords-2,
	ada-font-lock-keywords): New variables.
	(ada-mode): Set font-lock-defaults.
1994-10-12 08:00:49 +00:00
Richard M. Stallman
a70332a1c7 (c-mode-map): Capitalize Mode in C Mode menu bar item. 1994-10-12 07:23:06 +00:00
Karl Heuer
61b9bf7b2c (Fbyte_code): Skip optimization for all Lisp_Misc types. 1994-10-12 05:17:52 +00:00
Karl Heuer
1a0f90f7f9 (defvar_int, defvar_bool, defvar_lisp, defvar_lisp_nopro, defvar_per_buffer):
Use the new substructure.
1994-10-12 05:16:00 +00:00
Karl Heuer
46b2ac21f0 (do_symval_forwarding, store_symval_forwarding, find_symbol_value, Fset,
default_value, Fset_default, Fkill_local_variable): Use the new substructure.
(store_symval_forwarding): Change args to buffer_slot_type_mismatch.
1994-10-12 05:15:21 +00:00
Karl Heuer
54dfdeb04f (buffer_slot_type_mismatch): Take just the offset as argument. Only check
against types that are actually used.
1994-10-12 05:14:30 +00:00
Karl Heuer
c86160562a (mark_object): Use the new substructure. 1994-10-12 05:14:11 +00:00
Karl Heuer
ee4c9ce4d7 (enum Lisp_Misc_Type): Add new enumerations Lisp_Misc_Intfwd,
Lisp_Misc_Boolfwd, Lisp_Misc_Objfwd, Lisp_Misc_Buffer_Objfwd.
(enum Lisp_Type): Delete the corresponding enumerations from here.
(struct Lisp_Buffer_Objfwd): New structure.
(struct Lisp_Intfwd, struct Lisp_Boolfwd, struct Lisp_Objfwd): Ditto.
(XINTFWD, XBOOLFWD, XOBJFWD, XBUFFER_OBJFWD): Access the new structure.
(INTFWDP, BOOLFWDP, OBJFWDP, BUFFER_OBJFWDP): Ditto.
(XSETINTFWD, XSETBOOLFWD, XSETOBJFWD, XSETBUFFER_OBJFWD): Deleted.
(union Lisp_Misc): Add new members.
(allocate_misc): Declare this function.
(XINTPTR): Deleted.
1994-10-12 05:13:45 +00:00
Karl Heuer
9bdff5c5c7 (verify_interval_modification): Fix comment. 1994-10-12 02:11:34 +00:00
Karl Heuer
44472c88f5 (test_completion): Fix reversed condition. 1994-10-12 01:39:10 +00:00
Karl Heuer
e429caa215 Install Hiroshi Nakano's rewrite to allow multiple heaps, for implementations
where the C library makes calls to sbrk directly.
1994-10-12 00:48:03 +00:00
Richard M. Stallman
424b6d2bf8 (libexecdir): Renamed from libdir. 1994-10-11 21:38:59 +00:00
Richard M. Stallman
2fd54e6462 Use libexecdir and sharedstatedir as appropriate. 1994-10-11 21:36:30 +00:00
Richard M. Stallman
7c5b02433a (libexecdir): Renamed from libdir. New default.
(sharedstatedir): Renamed from statedir.  New default.
(datadir): New default.
1994-10-11 21:34:29 +00:00
Richard M. Stallman
1e8259bb0b (clean): rm DOC/* and *.tab.[ch].
(distclean): Not here.
1994-10-11 21:22:28 +00:00
Richard M. Stallman
6783b1ce6f (makefile-mode-name): Removed.
(makefile-mode): Skip any number of "#"s at beginning of comments.
(makefile-electric-keys): New variable.
(makefile-electric-dot): Self insert if not at bol.
(makefile-electric-equal): Really self-insert if not at bol.
(makefile-pickup-everything): Prefix arg means force pickups to be
redone.
(makefile-insert-macro-ref): Don't use format.
(makefile-runtime-macros-list): Added "$" to list.
(makefile-insert-special-target): Don't use format.
(makefile-insert-macro): Don't use format.
(makefile-insert-target): Don't use format.
(makefile-insert-target-ref): Don't use format.
(makefile-electric-colon): Really self-insert if not at bol.
(makefile-complete): New function.  Bound to M-TAB.
(makefile-do-macro-insertion): New function.
(makefile-mode-map): Add menu bar bindings.
(makefile-font-lock-keywords): New constant.
(makefile-mode): Deal with font-lock, add-log, imenu.
(makefile-macroassign-regex): Changed for use with font-lock.
(makefile-dependency-regex): Changed for use with font-lock.
(makefile-add-log-defun): New function.
(makefile-menu-index-function): New function.
1994-10-11 20:42:23 +00:00
Richard M. Stallman
0f6b12c958 menu-bar-lines fix. 1994-10-11 20:17:52 +00:00
Jim Blandy
cbe0db0d89 (scan_buffer): After temporarily turning immediate_quit off, turn it
back on by setting it to allow_quit, never 1.

(find_before_next_newline): Declare the arguments' types explicitly;
don't let them default to int.
1994-10-11 19:44:27 +00:00
Jim Blandy
ae474ea9cf (display_scan_buffer): Pass the correct number of arguments to
scan_buffer.
1994-10-11 19:39:03 +00:00
Richard M. Stallman
0d548e5d7b (compare-windows-whitespace): Eliminate initial value.
(tex-region): Don't delete temp files if we do
one buffer twice in a row.
1994-10-11 18:51:29 +00:00
Richard M. Stallman
1529a12fb5 (rmail-find-all-files): Fix several errors and make faster.
Always return a single-level list of file names.
(rmail-construct-io-menu): If FILES is null, turn off the menus.
(rmail-disable-menu): A phony "command", always disabled in menus.
(rmail-list-to-menu): Reverse the list L.
1994-10-11 17:38:48 +00:00
Richard M. Stallman
4986bd386f (rmail-summary-resend): New function.
(rmail-summary-mode-map - resend): Call rmail-summary-resend
instead of rmail-resend.
1994-10-11 17:07:27 +00:00
Francesco Potortì
7e5c230dc5 * etags.c (C_entries): Name the #define's that are macros. 1994-10-11 13:04:30 +00:00
Richard M. Stallman
bdcd49ba41 (x_term_init): Call XtSetLanguageProc or XSetLocaleModifiers.
(x_make_frame_visible, x_iconify_frame):
Call x_bitmap_icon if frame wants a bitmap icon.
1994-10-11 09:27:47 +00:00
Richard M. Stallman
00a78037a8 (read_key_sequence): The output of function-key-map
goes to key-translation-map, but not vice versa.
Don't exit if either of them is a possibility.
1994-10-11 09:22:44 +00:00