(url-history-track): Call url-history-setup-save-timer in :set function.
:type allows three alternatives.
(url-history-setup-save-timer): Test url-history-track.
Nick Roberts [Thu, 1 Dec 2005 02:17:15 +0000 (02:17 +0000)]
(gdb-ann3): Bind mouse-2 to gdb-mouse-until in the margin also.
(gdb-breakpoints-mode-map): Use D instead of d for gdb-delete-breakpoint.
(gdb-get-frame-number): Require a number to match on.
(gdb-threads-mode-map): Add follow-link binding.
Nick Roberts [Thu, 1 Dec 2005 02:05:17 +0000 (02:05 +0000)]
(GDB User Interface Layout): Describe how to kill associated buffers.
(Breakpoints Buffer): Use D instead of d for gdb-var-delete.
(Watch Expressions): Be more precise.
(Other GDB User Interface Buffers): Describe how to change a
register value.
Stefan Monnier [Wed, 30 Nov 2005 15:52:50 +0000 (15:52 +0000)]
(help-argument-name): Don't autoload.
It's useless and triggers a bug in cus-dep.el causing ldefs-boot
to be re-loaded when customizing the `help' group.
Stefan Monnier [Wed, 30 Nov 2005 15:52:37 +0000 (15:52 +0000)]
(gnus-delay-group): Don't autoload.
It's useless and could trigger a bug in cus-dep.el causing ldefs-boot
to be re-loaded when customizing the `gnus-delay' group.
Kim F. Storm [Tue, 29 Nov 2005 23:58:20 +0000 (23:58 +0000)]
(cua--rectangle-overlays): Make permanent-local.
(cua--rectangle-post-command): Cleanup overlays and deactivate mark
after revert-buffer (or anything else which kills all local variables).
Kim F. Storm [Tue, 29 Nov 2005 23:52:59 +0000 (23:52 +0000)]
(apropos-parse-pattern): Doc fix.
Set apropos-regexp directly, rather than expecting callers to do so.
(apropos-command, apropos, apropos-value, apropos-documentation):
Simplify calls to apropos-parse-pattern.
Stefan Monnier [Mon, 28 Nov 2005 21:55:15 +0000 (21:55 +0000)]
(elp-not-profilable): Replace interactive-p with called-interactively-p.
(elp-profilable-p): Rename from elp-not-profilable-p.
Invert result and take into account macros and autoloaded functions.
(elp-instrument-function): Update call.
(elp-instrument-package): Update call. Add completion.
(elp-pack-number): Use match-string.
(elp-results-jump-to-definition-by-mouse): Merge into
elp-results-jump-to-definition and then remove.
(elp-output-insert-symname): Make help echo text single-line.
Stefan Monnier [Mon, 28 Nov 2005 21:46:51 +0000 (21:46 +0000)]
(query-replace-map): Move initialization into declaration.
(occur-engine): Use with-current-buffer.
(occur-mode-goto-occurrence): Make it work for mouse-clicks as well.
(occur-mode-mouse-goto): Replace with an alias.
Stefan Monnier [Mon, 28 Nov 2005 16:44:37 +0000 (16:44 +0000)]
(flyspell-last-buffer): New var.
(flyspell-accept-buffer-local-defs): Use it to avoid silly redundant work.
(flyspell-mode-on): Use add-hook for after-change-functions.
(flyspell-mode-off): Use remove-hook for after-change-functions.
(flyspell-changes): Make it buffer-local.
(flyspell-after-change-function): Make it non-interactive. Use push.
(flyspell-post-command-hook): Check input-pending-p while processing
the potentially long list of buffer changes.
Luc Teirlinck [Mon, 28 Nov 2005 01:54:00 +0000 (01:54 +0000)]
("facemenu"): Load facemenu before font-lock, because
`facemenu-keymap' needs to be defined when font-lock is loaded.
Otherwise, `M-o M-o' is not bound to `font-lock-fontify-block'.
Stefan Monnier [Mon, 28 Nov 2005 01:43:28 +0000 (01:43 +0000)]
Remove useless leading * in defcustom docstrings.
(save-completions-file-name): Use ~/.emacs.d if available.
(completion-standard-syntax-table): Rename from
cmpl-standard-syntax-table and fold initialization into declaration,
thus removing cmpl-make-standard-completion-syntax-table.
(completion-lisp-syntax-table, completion-c-syntax-table)
(completion-fortran-syntax-table, completion-c-def-syntax-table): Idem.
(cmpl-saved-syntax, cmpl-saved-point): Remove.
(symbol-under-point, symbol-before-point)
(symbol-under-or-before-point, symbol-before-point-for-complete)
(add-completions-from-c-buffer): Use with-syntax-table.
(make-completion): Don't return a list of completion entries.
Update callers.
(cmpl-prefix-entry-head, cmpl-prefix-entry-tail): Use defalias.
(completion-initialize): Rename from initialize-completions.
(completion-find-file-hook): Rename from cmpl-find-file-hook.
(kill-emacs-save-completions): Collect stats here.
(save-completions-to-file, load-completions-from-file):
Use with-current-buffer.
(completion-def-wrapper): Rename from def-completion-wrapper. Make it
into a function. Move all calls to toplevel.
(completion-lisp-mode-hook): New fun.
(completion-c-mode-hook, completion-setup-fortran-mode):
Set the syntax-table here. Use local-set-key.
(completion-saved-bindings): New var.
(dynamic-completion-mode): Make it into a proper minor mode.
(load-completions-from-file): Remove unused var `num-uses'.
Luc Teirlinck [Sun, 27 Nov 2005 23:55:30 +0000 (23:55 +0000)]
(Buffer-menu-revert-function): Make the selected window's buffer the
current buffer around the call to `list-buffers-noselect'. This is
necessary to mark that buffer with a `.' in the Buffer Menu when
called from Lisp, for instance by Auto Revert Mode.
Stefan Monnier [Sun, 27 Nov 2005 20:53:55 +0000 (20:53 +0000)]
(PC-completion-as-file-name-predicate): Use minibuffer-completing-file-name.
(partial-completion-mode): Use find-file-not-found-functions.
(PC-lisp-complete-symbol): Use with-syntax-table.
(PC-look-for-include-file): Remove dead setq.
(PC-look-for-include-file, PC-expand-many-files, PC-do-completion)
(PC-complete): Use with-current-buffer.
(adjust_window_trailing_edge): New function.
(Fadjust_window_trailing_edge): New function.
(syms_of_window): defsubr it.
(window_deletion_count): New variable.
(delete_window): Update window_deletion_count.
Nick Roberts [Sun, 27 Nov 2005 01:17:47 +0000 (01:17 +0000)]
(gdb-goto-breakpoint, gdb-frames-select, gdb-threads-select):
Use `posn-set-point' instead of `mouse-set-point' because the
latter is not fbound when configured without X.
Kim F. Storm [Sat, 26 Nov 2005 19:25:36 +0000 (19:25 +0000)]
(ido-mode-map): Doc fix.
(ido-mode-common-map, ido-mode-file-map)
(ido-mode-file-dir-map, ido-mode-buffer-map): New keymaps.
(ido-define-mode-map): Rewrite. Select one of the new maps as
parent for ido-mode-map instead of building from scratch.
(ido-init-mode-maps): New defun to initialize new maps.
(ido-mode): Call it.
(ido-switch-buffer): Doc fix -- use \<ido-mode-buffer-map>.
(ido-find-file): Doc fix -- use \<ido-mode-file-map>.