Stefan Monnier [Wed, 16 Nov 2005 17:00:29 +0000 (17:00 +0000)]
Fix commenting convention. Remove unnecessary leading * in custom docstrings.
(flyspell-emacs): Remove unused var.
(flyspell-accept-buffer-local-defs): Use save-current-buffer.
(flyspell-debug-signal-no-check, flyspell-debug-signal-changed-checked)
(flyspell-debug-signal-pre-word-checked, flyspell-post-command-hook)
(flyspell-debug-signal-word-checked): Use with-current-buffer.
(make-flyspell-overlay): Don't locally reuse a global name.
(flyspell-highlight-incorrect-region)
(flyspell-highlight-duplicate-region): Use flyspell-unhighlight-at.
(flyspell-check-previous-highlighted-word): Use flyspell-overlay-p.
(flyspell-notify-misspell): Remove unused args `start' and `end'.
(flyspell-word): Adjust call accordingly. Use ispell-send-string.
Wrap calls to accept-process-output inside with-local-quit since it's
often called from a post-command-hook.
(flyspell-correct-word, flyspell-auto-correct-word): Use ispell-send-string.
(flyspell-xemacs-popup): Remove unused arg `event'. Update call.
Luc Teirlinck [Wed, 16 Nov 2005 02:02:03 +0000 (02:02 +0000)]
(custom-add-parent-links): Fix bug whereby, for instance,
`(fringe custom-face)' shadowed `(fringe custom-group)'
in the custom-group property of the symbol frames and the
fringe group got no link to its parent group frames.
Doc fix.
Kim F. Storm [Tue, 15 Nov 2005 22:55:48 +0000 (22:55 +0000)]
(gud-menu-map): Let [stop] stop program rather than kill it.
(gud-tool-bar-map): Likewise. Move cont/until/finish buttons
to a more useful/logical place.
Nick Roberts [Tue, 15 Nov 2005 12:25:49 +0000 (12:25 +0000)]
Remove face-alias left over from change on
2005-08-15.
(gdb-ann3): New command gud-go.
(menu): Accomodate gdb-mi.el.
(gdb-assembler-custom): Make buffer of selected window current
so that set-window-point works.
Luc Teirlinck [Mon, 14 Nov 2005 23:19:42 +0000 (23:19 +0000)]
(help-make-xrefs, help-xref-on-pp, help-xref-interned, help-follow):
Make hyperlinks for variables that are unbound, but have a non-nil
variable-documentation property.
Luc Teirlinck [Mon, 14 Nov 2005 23:05:53 +0000 (23:05 +0000)]
(define-derived-mode): Remove defvar for mode hook. (It conflicted
with defcustoms for some mode hooks.) Use the `variable-documentation'
property to give the mode hook a docstring and expand that docstring.
Stefan Monnier [Mon, 14 Nov 2005 22:30:35 +0000 (22:30 +0000)]
(savehist-mode): Don't bother with `custom-set-minor-mode.
(savehist-coding-system): Check XEmacs version.
(history-length): Declare also at run time.
(savehist-mode): Don't emit a message. Don't run the minor mode hook.
Don't set the customize state.
(savehist-minibuffer-hook): Special case for when
minibuffer-history-variable is equal to t.
Stefan Monnier [Mon, 14 Nov 2005 22:14:23 +0000 (22:14 +0000)]
(diary-list-entries, diary-show-all-entries)
(mark-diary-entries, make-diary-entry): Check default-major-mode rather
than fundamental-mode to see if the mode was set.
(flyspell-notify-misspell): Fix misspelling of "Misspelling".
(flyspell-process-localwords): New function.
(flyspell-large-region): Call flyspell-process-localwords and
flyspell-delete-region-overlays.
(flyspell-delete-region-overlays): New function.
(flyspell-delete-all-overlays): Call that.
Nick Roberts [Sun, 13 Nov 2005 09:02:23 +0000 (09:02 +0000)]
(gdb-var-create-handler, gdb-var-list-children-handler):
Match on "const char *" too.
(gdb-var-evaluate-expression-handler): Match on empty string.
(gdb-var-update-handler): Only call
gdb-var-evaluate-expression-handler when required.
[USE_CG_TEXT_DRAWING] (mac_draw_string_cg): New function.
(x_draw_glyph_string_foreground) [USE_CG_TEXT_DRAWING]: Use it.
(XLoadQueryFont) [USE_CG_TEXT_DRAWING]: Set members cg_font and
cg_glyphs in struct MacFontStruct if synthesized bold or italic is
not used and font substitution never occurs for ASCII and Latin-1
characters.
(XLoadQueryFont): Maximum and minimum metrics are now those among
ASCII characters.
(XLoadQueryFont) [!MAC_OS8 || USE_ATSUI]: Apply WebKit-style
height adjustments for Courier, Helvetica, and Times.
Nick Roberts [Sat, 12 Nov 2005 21:26:55 +0000 (21:26 +0000)]
(gud-menu-map): Revert to window-fringes for
selected window. This still doesn't work for speedbar.
(gud-speedbar-buttons): Handle string expressions properly.
Karl Fogel [Sat, 12 Nov 2005 20:46:10 +0000 (20:46 +0000)]
* bookmark.el (bookmark-maybe-message): New function to reduce code
duplication: invokes `message' iff baud-rate is high enough.
(bookmark-write-file): Use above instead of an inline conditional.
(bookmark-load): Same.