(setenv): Use setenv-history.
Place the variable's current value at front of setenv-history
while reading the new value.
(setenv): Provide history, completion for envvar.
(read-envvar-name-history): New variable.
(read-envvar-name): New function.
Function: or Variable: if line doesn't fit with it.
New arg no-header inhibits them entirely.
(apropos): New arg no-header. Pass it to apropos-print-matches.
(find-file-noselect): Use run-hook-with-args-until-success.
(after-find-file): Use run-hooks for find-file-hooks.
(basic-save-buffer): Use run-hook-with-args-until-success.
(run-hook-with-args-until-success): New function.
(run-hook-with-args-until-failure): New function.
(run-hooks): t as hook list element means run the global
value of the variable as well as the local value.
(run-hook-with-args): Likewise.
(make-local-hook): New function.
(add-hook, remove-hook): New arg LOCAL means modify local value.
Test default-boundp as well as boundp.
(gud-massage-args, gud-marker-filter, gud-find-file): New vars.
Mark them as permanent locals.
(gud-massage-args, gud-marker-filter, gud-find-file):
In these functions, use those variables.
(gud-common-init): 3 new args give values for those variables.
(gdb, sdb, dbx, xdb, perldb): Pass new args to gud-common-init.
(gud-gdb-complete-command): Bind gud-marker-filter.
(gud-find-file): Condense multiple slashes to single slashes.
Don't use exchange-point-and-mark.
(rmail-msg-number-after-expunge): New function.
(rmail-reply, rmail-forward): Use separate local variables
rmail-send-actions-rmail-msg-number, rmail-send-actions-rmail-buffer
to record which message to mark as answered or forwarded.
(rmail-only-expunge): Update msg numbers stored in those variables.
to discard the extra arg some shells make.
(vc-rename-file): Add autoload cookie.
(vc-steal-lock): (1) Function should be non-interactive, because it
doesn't work when called directly by the user. (2) Don't display
revision "nil" when stealing lock if revision is unknown. (3) Put
"Stolen lock on <file>" instead of just the file name in the Subject
of the notification message.
and then discard those in rmail-retry-ignored-headers. Delete
usage of rmail-retry-setup-hook. Bind mail-signature and
mail-setup-hook to nil when composing retry buffer.
Handle mail-self-blind.
(rmail-retry-ignored-headers): New variable,
specifying the headers that should be removed by rmail-retry-failure.
(rmail-retry-setup-hook): Obsolete variable (see below), deleted.
(rmail-clear-headers): New optional arg is list of headers to clear.
(vc-status): Use vc-path when calling prs.
(vc-status): New arg vc-type.
(vc-file-not-found-hook): Use save-excursion.
(vc-status): Renamed from vc-rcs-status. Handle SCCS.
(vc-display-status): Renamed from vc-rcs-status.
(vc-mode-line): Call vc-status for SCCS files too.
variable, use the old one if it is bound as initial value.
(Man-reuse-okay-flag): replaces Man-reuse-okay.
(Man-downcase-section-letters-flag): replaces
Man-downcase-section-letters.
(Man-circular-pages-flag): replaces Man-circular-pages.
(Man-auto-section-alist): variable deleted.
(Man-section-translations-alist): removed the "3x" translation.
(Man-untabify-command, Man-untabify-command-args): new vars.
(Man-sed-command, Man-awk-command): new variables.
(Man-sysv-sed-script, Man-berkeley-sed-script): new constants.
(Man-name-regexp, Man-page-header-regexp): new variable.
(Man-heading-regexp): changed default value.
(Man-reference-regexp): now refers to previous regexps.
(Man-arguments): new buffer-local variable.
(Man-page-mode-string): changed default value.
(Man-mode-map): changed the meanings of ",", ".", "q". Added new
keys ">", "<", "k".
(Man-page-mode-string): function deleted.
(Man-init-defvars): New function used for initialising the system
and environment dependent variables Man-fontify-manpage-flag,
Man-uses-untabify, Man-sed-script, Man-filter-list.
(Man-delete-trailing-newlines): function deleted.
(Man-make-page-mode-string): new subst.
(Man-build-man-command): now subst instead of function. Modified
to comply with the new format of Man-filter-list.
(Man-downcase): function deleted.
(Man-translate-references): complete rewrite.
(Man-linepos): function deleted.
(Man-match-substring): new function.
(Man-default-man-args): function deleted.
(Man-default-man-entry): complete rewrite.
(man, manual-entry): function-alias relationship reversed.
(man): prompt changed, prompt using interactive, call
Man-init-defvars, set Man-arguments.
(Man-notify-when-ready): manage the 'pushy value.
(Man-fontify-manpage): substitute Man-set-fonts.
(Man-cleanup-manpage): new function.
(Man-bgproc-sentinel): cleanup, call Man-fontify-manpage and
Man-cleanup-page when necessary.
(Man-mode): call Man-strip-page-headers and Man-unindent.
(Man-build-section-alist, Man-build-references-alist,
Man-build-page-list): substs instead of functions.
(Man-build-references-alist): cleanup.
(Man-build-page-list): new algorithm.
(Man-strip-page-headers, Man-unindent): new substs.
(Man-find-section): assume section names start in column 1.
(Man-quit): bury the buffer instead of killing it, delete the
frame when necessary.
(Man-kill): new function.
(Man-goto-page): do the right thing when the manpage is not found,
do not assume that Man-build-references-alist is broken.
(query-replace-read-args): Obey that option--fetch from
search-ring or regexp-search-ring. New arg regexp-flag.
(query-replace, query-replace-regexp, replace-string)
(replace-regexp): Pass new arg to query-replace-read-args.
(map-query-replace-regexp): Obey query-replace-interactive.
(rmail-new-summary): Call rmail-summary-construct-io-menu.
(rmail-summary-mode-map): New menu items 'Input Rmail File' and
'Output Rmail File'.
(rmail-summary-output-to-rmail-file): New arg 'file-name'. If it
non-nil, call rmail-output-to-rmail-file.
(ediff-find-file-name-handler, vc-ediff-internal, rcs-ediff-internal):
New functions.
(ediff-version-control-package): New variable.
(vc-ediff, rcs-ediff): Functions deleted.
(ediff-submit-report): New function.
(ediff-toggle-read-only, ediff-patch-file): Check out
version controlled files before their buffers are modified.
(ediff-local-checkout-flag, ediff-toggle-read-only-function): New variables.
(ediff-find-file, ediff-patch-file): Were getting
confused by symbolic links. Fixed.
Doc fixes.
(icomplete-mode): New function and var.
(icomplete-minibuffer-setup-hook): New hook.
(icomplete-inhibit): Defunct. Using icomplete-pre-command-hook,
icomplete-post-command-hook as real hook functions.
(icomplete-simple-completing-p): Subsumes
icomplete-window-minibuffer-p plus other stuff, determines whether
simple completion is active.
(icomplete-window-minibuffer-p): Defunct, see above.
(icomplete-minibuffer-setup): Use icomplete-simple-completing-p,
copy-sequence hooks before adding to them, run hooks properly.
(icomplete-tidy): Changed from misnamed icomplete-pre-command-hook;
use icomplete-simple-completing-p.
(icomplete-exhibit): Changed from misnamed icomplete-post-command-hook;
use icomplete-simple-completing-p.
(icomplete-completions): Changed from old, misnamed icomplete-exhibit;
combined with old misnamed icomplete-prompt.
(ispell-check-only): New variable.
(ispell-word): Handle ispell-check-only.
(ispell-minor-mode): New variable.
(ispell-minor-keymap): New map.
(ispell-minor-mode): New function.
expressions to include backup files with version numbers.
(jka-compr-insert-file-contents): Run the
functions in after-insert-file-functions after the
buffer-file-name has been set, not before.
(jka-compr-insert-file-contents): Properly
handle the 'replace' argument for compressed files.