Eli Zaretskii [Mon, 29 Oct 2001 18:06:50 +0000 (18:06 +0000)]
(invert-face): Check for 'unspecified, not for nil,
when testing whether face colors are not specified. From
David.Kastrup@t-online.de (David Kastrup).
Gerd Moellmann [Mon, 29 Oct 2001 09:35:04 +0000 (09:35 +0000)]
(sql-mysql): Doc change by RMS.
(sql-db2): Doc change.
(sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
(sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
Miles Bader [Sun, 28 Oct 2001 10:19:33 +0000 (10:19 +0000)]
(face-attribute): Add INHERIT argument, consider face inheritance if non-nil.
(face-attribute-merged-with): New function.
(face-attribute-specified-or): New macro.
(face-foreground, face-background, face-stipple): Add INHERIT argument.
Use `face-attribute-specified-or'.
Miles Bader [Sun, 28 Oct 2001 10:09:29 +0000 (10:09 +0000)]
(merge_face_heights): Handle TO being relative as well.
Remove #ifdef'd-out code.
(Fface_attribute_relative_p, Fmerge_face_attribute): New functions.
(syms_of_xfaces): Initialize them.
Stefan Monnier [Sun, 28 Oct 2001 04:48:16 +0000 (04:48 +0000)]
Require `syntax'.
(font-lock-defaults-alist): Don't define keywords for lisp languages.
Use `c-font-lock-syntactic-face-function' for c languages.
(font-lock-mode): Don't unset vars when turning the mode off.
(font-lock-default-fontify-buffer): Don't unset vars at the end.
(font-lock-extra-managed-props): New var.
(font-lock-default-unfontify-region): Use it.
(font-lock-apply-syntactic-highlight): Flush the syntax cache.
Don't eval the value when there's no match.
(font-lock-ppss-stats): New var.
(font-lock-ppss): New fun.
(font-lock-fontify-syntactically-region): Use it and syntax.ppss.
(font-lock-apply-highlight): Allow `highlight' to set several props.
(font-lock-set-defaults): Use dolist.
(font-lock-unset-defaults): Remove.
(font-lock-match-c-style-declaration-item-and-skip-to-next):
Try to recognize prototypes using `foo P_ ((args))'.
({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
(c-font-lock-keywords-2): Fix last change to still use Anders' trick.
(c-font-lock-syntactic-face-function): New function.
(font-lock-match-c++-style-declaration-item-and-skip-to-next)
(c++-keywords): Use a more sophisticated regexp to handle
shallowly nested templates.
Stefan Monnier [Sun, 28 Oct 2001 04:10:40 +0000 (04:10 +0000)]
(sgml-empty-tags): New var.
(sgml-tag): Use it. Cleanup with `cond'.
(sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
Mark the overlays and only delete those that are marked.
(sgml-skip-close-p): Remove.
(sgml-value): Replace sgml-skip-close-p with its definition.
(html-tag-alist): Use sgml-xml a bit more.
(html-mode): Set sgml-empty-tags.
Stefan Monnier [Sun, 28 Oct 2001 03:24:14 +0000 (03:24 +0000)]
Use `when', `dolist', `push', ...
(texinfo-update-node, texinfo-sequential-node-update):
Don't bind the obsolete `auto-fill-hook'.
(texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
Use `set-buffer' rather than `switch-to-buffer'.
(texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
Use `set-buffer' rather than `switch-to-buffer'.
Jason Rumney [Sat, 27 Oct 2001 22:21:24 +0000 (22:21 +0000)]
(w32_system_caret_hwnd, w32_system_caret_width)
(w32_system_caret_height, w32_system_caret_x)
(w32_system_caret_y): New variables for tracking system caret.
(w32_initialize): Initialize them.
(x_display_and_set_cursor): Make system caret follow the active cursor.
Stefan Monnier [Sat, 27 Oct 2001 22:19:29 +0000 (22:19 +0000)]
(mail-mode-syntax-table): Let it inherit from text-mode-syntax-table.
(mail-mode): Use define-derived-mode.
Fix ordering of alternatives in adaptive-fill-regexp.
(mail-mode-map): Don't rely on keymap's internal representation.
Gerd Moellmann [Sat, 27 Oct 2001 08:55:04 +0000 (08:55 +0000)]
(move_it_vertically_backward): Use 2/3 line_height
instead of 1/2 line_height in the heuristic for skipping
farther backward when target_y was not reached.
Gerd Moellmann [Sat, 27 Oct 2001 08:49:39 +0000 (08:49 +0000)]
(sound_perror): Unblock SIGIO, turn on atimers.
Display errno only if non-zero.
(sound_warning): New function.
(vox_configure): Don't treat failing to set sample rate as error.
(various places): Improve error messages.
Eli Zaretskii [Fri, 26 Oct 2001 21:16:09 +0000 (21:16 +0000)]
(internal-get-face): Use facep instead of the obsolete
internal-find-face.
(internal-frob-font-weight, internal-frob-font-slant): New
defailiases for obsolete functions.
(x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
(x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
(x-make-font-bold-italic): Use internal-frob-font-weight and
internal-frob-font-slant aliases instead of the obsolete
x-frob-... functions.
Sam Steingold [Fri, 26 Oct 2001 17:51:38 +0000 (17:51 +0000)]
(derived-mode-hook-name, derived-mode-map-name)
(derived-mode-syntax-table-name, derived-mode-abbrev-table-name):
define defsubsts before they are first used