Make update_autogen handle loaddefs-like files as well.
[bpt/emacs.git] / lisp / ChangeLog
index 6b7dd5a..856cb05 100644 (file)
@@ -1,3 +1,472 @@
+2011-04-06  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (AUTOGEN_VCS): New variable.
+       (autoloads): Use $AUTOGEN_VCS.
+
+       * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
+       * calendar/calendar.el (calendar-mode-map):
+       Check for toolkit scroll bars.  (Bug#8305)
+
+2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
+
+       * minibuffer.el (completion-in-region--postch)
+       (completion-in-region-mode): Remove unnecessary messages.
+
+2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
+
+       * font-lock.el (font-lock-refresh-defaults):
+       Don't bind `hi-lock--inhibit-font-lock-hook', removed in
+       2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
+
+       * info.el (Info-directory-list, Info-read-node-name-2)
+       (Info-split-parameter-string): Doc fixes.
+       (Info-virtual-nodes): Reflow docstring.
+       (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
+       (Info-apropos-toc-nodes, info-finder, Info-get-token)
+       (Info-find-emacs-command-nodes, Info-speedbar-key-map):
+       Fix typos in docstrings.
+       (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
+       (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
+       (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
+       (Info-restore-desktop-buffer): Mark unused parameters.
+       (Info-directory-find-file, Info-directory-find-node)
+       (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
+       (Info-virtual-index-find-node, Info-apropos-find-file)
+       (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
+       Mark unused parameters; fix typos in docstrings.
+       (Info-virtual-index): Remove unused local variable `nodename'.
+
+2011-04-05  Deniz Dogan  <deniz@dogan.se>
+
+       * net/rcirc.el: Update my e-mail address.
+       (rcirc-mode-map): Remove M-o binding.
+
+2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
+
+       * startup.el (command-line): Save the cursor's theme-face
+       directly, instead of using face-override-spec.
+
+       * custom.el (load-theme): Minor optimization in assigning faces.
+
+2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
+
+       * help-fns.el (describe-variable): Complete all variables having
+       documentation, including keywords.
+       http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
+
+2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
+
+       Convert to lexical-binding.
+
+       * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
+       (bs--get-marked-string, bs--get-modified-string)
+       (bs--get-readonly-string, bs--get-size-string, bs--get-name)
+       (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
+       (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
+
+       * ehelp.el (electric-help-execute-extended)
+       (electric-help-ctrl-x-prefix):
+       * hexl.el (hexl-revert-buffer-function):
+       * linum.el (linum-after-change, linum-after-scroll):
+       * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
+
+       * help-fns.el (help-describe-category-set): Remove unused ERR variable.
+
+2011-04-04  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa-dired.el:
+       * epa-mail.el:
+       * epa-hook.el:
+       * epa-file.el:
+       * epa.el:
+       * epg.el: Use lexical binding.
+
+2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
+
+       * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
+
+       * textmodes/flyspell.el (flyspell-word): Recognize default
+       dictionary case for flyspell-mark-duplications-exceptions.  Use
+       regexp matching for languages.
+       (flyspell-mark-duplications-exceptions): Add "that" and "had" for
+       default dictionary (Bug#7926).
+
+2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
+
+       * emacs-lisp/package.el (package--with-work-buffer): Recognize
+       https URLs.
+
+       * net/network-stream.el: Move from gnus/proto-stream.el.  Change
+       prefix to network-stream throughout.
+       (open-protocol-stream): Merge into open-network-stream, leaving
+       open-protocol-stream as an alias.  Handle nil BUFFER args.
+
+       * subr.el (open-network-stream): Move to net/network-stream.el.
+
+2011-04-02  Glenn Morris  <rgm@gnu.org>
+
+       * find-dired.el (find-exec-terminator): New option.
+       (find-ls-option): Test for -ls support.
+       (find-ls-subdir-switches): Test for -b in find-ls-option.
+       (find-dired, find-grep-dired): Doc fixes.
+       (find-dired): Use find-exec-terminator.
+
+       * find-dired.el (find-ls-option, find-ls-subdir-switches)
+       (find-grep-options): Do not autoload these defcustoms, remove purecopy.
+       (find-name-arg): Remove purecopy.
+
+       * progmodes/grep.el (grep-find-use-xargs): Doc fix.
+       (grep-compute-defaults): Check for `-exec COMMAND +' support.
+       Set grep-find-use-xargs, grep-find-command, and grep-find-template
+       accordingly.  Don't add the null-device if not needed.
+
+       * files.el (save-some-buffers): Doc fix.
+
+2011-04-02  Eli Zaretskii  <eliz@gnu.org>
+
+       * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
+
+2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
+
+       * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
+       Use `dolist' rather than `mapcar'.
+
+2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Add lexical binding.
+
+       * subr.el (apply-partially): Use new closures rather than CL.
+       (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
+       (dolist, dotimes): Use slightly different expansion for lexical code.
+       (functionp): Move to C.
+       (letrec): New macro.
+       (with-wrapper-hook): Use it and apply-partially instead of CL.
+       (eval-after-load): Preserve lexical-binding.
+       (save-window-excursion, with-output-to-temp-buffer): Turn them
+       into macros.
+
+       * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
+
+       * help-fns.el (help-split-fundoc): Return nil if there's nothing else
+       than the arglist.
+       (help-add-fundoc-usage): Don't add `Not documented'.
+       (help-function-arglist): Handle closures, subroutines, and new
+       byte-code-functions.
+       (help-make-usage): Remove leading underscores.
+       (describe-function-1): Handle closures.
+       (describe-variable): Use special-variable-p for completion.
+
+       * files.el (lexical-binding): Declare safe.
+
+       * emacs-lisp/pcase.el: Don't use destructuring-bind.
+       (pcase--memoize): Rename from pcase-memoize.  Change weakness.
+       (pcase): Add `let' pattern.
+       Change memoization so it actually works.
+       (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
+       (pcase--u1) <guard, pred>: Fix possible shadowing problem.
+       <let>: New case.
+
+       * emacs-lisp/macroexp.el: Use lexical binding.
+       (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
+       Don't convert ' to #' without checking that it's indeed quoting
+       a lambda.
+
+       * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
+       Use eval-sexp-add-defvars.
+       (eval-sexp-add-defvars): New fun.
+
+       * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
+
+       * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
+       Don't autoload.
+       (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
+       than the internal `byte-compile-lambda'.
+       (defmethod): Don't hide code under quotes.
+       (eieio-defmethod): New `code' argument.
+
+       * emacs-lisp/eieio-comp.el: Remove.
+
+       * emacs-lisp/edebug.el (edebug-eval-defun)
+       (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
+       (edebug-toggle): Avoid `eval'.
+
+       * emacs-lisp/disass.el (disassemble-internal): Handle new
+       `closure' objects.
+       (disassemble-1): Handle new byte codes.
+
+       * emacs-lisp/cl.el (pushnew): Silence warning.
+
+       * emacs-lisp/cl-macs.el (cl-byte-compile-block)
+       (cl-byte-compile-throw): Remove.
+       (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
+
+       * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
+       closures.
+
+       * emacs-lisp/cconv.el: New file.
+
+       * emacs-lisp/bytecomp.el: Use lexical binding instead of
+       a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
+       (byte-compile-initial-macro-environment):
+       Handle declare-function here.
+       (byte-compile--lexical-environment): New var.
+       (byte-stack-ref, byte-stack-set, byte-discardN)
+       (byte-discardN-preserve-tos): New lap codes.
+       (byte-interactive-p): Don't use any more.
+       (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
+       New macros.
+       (byte-compile-lapcode): Use them and handle new lap codes.
+       (byte-compile-obsolete): Remove.
+       (byte-compile-arglist-signature): Handle new byte-code arg"lists".
+       (byte-compile-arglist-warn): Check late def of inlinable funs.
+       (byte-compile-cl-warn): Don't silence warnings for compiler-macros
+       since they should have been expanded by now.
+       (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
+       (byte-compile-from-buffer): Remove unused second arg.
+       (byte-compile-preprocess): New function.
+       (byte-compile-toplevel-file-form): New function to distinguish
+       file-form calls from outside from file-form calls from hunk-handlers.
+       (byte-compile-file-form): Simplify.
+       (byte-compile-file-form-defsubst): Remove.
+       (byte-compile-file-form-defmumble): Simplify now that
+       byte-compile-lambda always returns a byte-code-function.
+       (byte-compile): Preprocess.
+       (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
+       Remove, not used any more.
+       (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
+       (byte-compile-make-args-desc): New funs.
+       (byte-compile-lambda): Handle lexical functions.  Always return
+       a byte-code-function.
+       (byte-compile-reserved-constants): New var, to make up room for
+       closed-over variables.
+       (byte-compile-constants-vector): Obey it.
+       (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
+       (byte-compile-macroexpand-declare-function): New function.
+       (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
+       byte-code-functions.
+       (byte-compile-form): Check obsolescence here.
+       (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
+       (byte-compile-variable-ref): Remove.
+       (byte-compile-dynamic-variable-op): New fun.
+       (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
+       (byte-compile-variable-set): New funs.
+       (byte-compile-discard): Add 2 args.
+       (byte-compile-stack-ref, byte-compile-stack-set)
+       (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
+       (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
+       macroexpand-all instead.
+       (byte-compile-quote-form): Remove.
+       (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
+       (byte-compile-bind, byte-compile-unbind): New funs.
+       (byte-compile-let): Handle let* and lexical binding.
+       (byte-compile-let*): Remove.
+       (byte-compile-catch, byte-compile-unwind-protect)
+       (byte-compile-track-mouse, byte-compile-condition-case):
+       Handle a new :fun-body form, used for lexical scoping.
+       (byte-compile-save-window-excursion)
+       (byte-compile-with-output-to-temp-buffer): Remove.
+       (byte-compile-defun): Simplify.
+       (byte-compile-stack-adjustment): New fun.
+       (byte-compile-out): Use it.
+       (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
+
+       * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
+       handler any more.
+
+       * emacs-lisp/byte-opt.el: Use lexical binding.
+       (byte-inline-lapcode): Remove (to bytecomp).
+       (byte-compile-inline-expand): Pay attention to inlining to/from
+       lexically bound code.
+       (byte-compile-unfold-lambda): Don't handle byte-code-functions
+       any more.
+       (byte-optimize-form-code-walker): Don't handle save-window-excursion
+       any more and don't call compiler-macros.
+       (byte-compile-splice-in-already-compiled-code): Remove.
+       (byte-code): Don't inline any more.
+       (disassemble-offset): Receive `bytes' as argument rather than via
+       dynamic scoping.
+       (byte-compile-tag-number): Declare before first use.
+       (byte-decompile-bytecode-1): Handle new byte-codes, don't change
+       `return' even if make-spliceable.
+       (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
+       obsolete interactive-p.
+       (byte-optimize-lapcode): Optimize new lap-codes.
+       Don't trip up on new form of `byte-constant' lap code.
+
+       * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
+
+       * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
+
+       * custom.el (custom-initialize-default, custom-declare-variable):
+       Use `defvar'.
+
+       * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
+       New variables.
+       (compile-onefile, .el.elc, compile-calc, recompile): Use them.
+       (COMPILE_FIRST): Add macroexp and cconv.
+       * makefile.w32-in: Mirror changes in Makefile.in.
+
+       * vc/cvs-status.el:
+       * vc/diff-mode.el:
+       * vc/log-edit.el:
+       * vc/log-view.el:
+       * vc/smerge-mode.el:
+       * textmodes/bibtex-style.el:
+       * textmodes/css.el:
+       * startup.el:
+       * uniquify.el:
+       * minibuffer.el:
+       * newcomment.el:
+       * reveal.el:
+       * server.el:
+       * mpc.el:
+       * emacs-lisp/smie.el:
+       * doc-view.el:
+       * dired.el:
+       * abbrev.el: Use lexical binding.
+
+2011-04-01  Eli Zaretskii  <eliz@gnu.org>
+
+       * info.el (info-display-manual): New function.
+
+2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
+
+2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
+
+       * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
+       an entry for that server in rcirc-authinfo.  (Bug#8385)
+
+2011-03-31  Glenn Morris  <rgm@gnu.org>
+
+       * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
+
+       * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
+
+2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
+
+       * progmodes/python.el (python-default-interpreter)
+       (python-python-command-args, python-jython-command-args)
+       (python-which-shell, python-which-args, python-which-bufname)
+       (python-file-queue, python-comint-output-filter-function)
+       (python-toggle-shells, python-shell): Remove obsolete defcustoms,
+       variables and functions.
+
+2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
+       (completion-in-region-mode): New minor mode.
+       (completion-in-region): Use it.
+       (completion-in-region--data, completion-in-region-mode-map): New vars.
+       (completion-in-region--postch): New function.
+       (completion--capf-misbehave-funs, completion--capf-safe-funs):
+       New vars.
+       (completion--capf-wrapper): New function.
+       (completion-at-point): Use it to track well-behavedness of
+       hook functions.
+       (completion-help-at-point): New command.
+
+2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
+
+       * vc/add-log.el (add-change-log-entry): Don't use whitespace
+       syntax class to search for whitespace on a single line
+       (Message-ID: <4D938140.4030905@redhat.com>).
+
+2011-03-30  Leo Liu  <sdl.web@gmail.com>
+
+       * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
+       New commands.
+       (edit-abbrevs-map): Bind them here.
+       (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
+
+2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
+
+       * allout.el (allout-hide-by-annotation, allout-flag-region):
+       Reduce possibility of overlay leakage by making them volatile.
+
+       * allout-widgets.el (allout-widgets-tally): Define as nil so the
+       hash is not shared between buffers.  Mode initialization is
+       responsible for giving it a useful starting value.
+       (allout-item-span): Reduce possibility of overlay leakage by
+       making them volatile.
+       (allout-widgets-count-buttons-in-region): Add diagnostic function
+       for tracking down button overlay leaks.
+
+2011-03-29  Leo Liu  <sdl.web@gmail.com>
+
+       * ido.el (ido-read-internal): Use the default history var
+       minibuffer-history if no HISTORY is specified.
+
+2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
+
+       * net/imap.el (imap-shell-open, imap-process-connection-type):
+       Use imap-process-connection-type for 'shell' streams as well as
+       Kerberos, SSL, other subprocesses.
+
+2011-03-28  Leo Liu  <sdl.web@gmail.com>
+
+       * abbrev.el (abbrev-table-empty-p): New function.
+       (prepare-abbrev-list-buffer): Place empty abbrev tables after
+       nonempty ones.  (Bug#5937)
+
+2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
+
+2011-03-27  Leo Liu  <sdl.web@gmail.com>
+
+       * ansi-color.el (ansi-color-names-vector): Allow cons cell value
+       for foreground and background colors.
+       (ansi-color-make-color-map): Adapt.
+
+2011-03-25  Leo Liu  <sdl.web@gmail.com>
+
+       * midnight.el (midnight-time-float): Remove.  Note it calculates
+       the microsecond component incorrectly and seconds-to-time does the
+       same job.
+       Remove redundant (require 'timer).
+
+       * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
+       (ido-completions): Remove unused arguments.  (Bug#8329)
+
+2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (completion--flush-all-sorted-completions):
+       Remove itself from hook.
+       (completion-at-point): Let the functions perform the completion
+       immediately and return nil or t.
+       * comint.el (comint-dynamic-complete-functions): Now identical to
+       completion-at-point-functions.
+       (comint-dynamic-list-input-ring): Remove unused var `index'.
+       (comint--match-partial-filename, comint--unquote&expand-filename):
+       New funs, split from comint-match-partial-filename.
+       (comint-dynamic-complete): Use completion-at-point.
+       (comint-dynamic-complete-filename): Use comint--match-partial-filename.
+
+2011-03-24  Drew Adams  <drew.adams@oracle.com>
+
+       * thingatpt.el: Support `defun'.
+
+2011-03-23  Leo Liu  <sdl.web@gmail.com>
+
+       * abbrevlist.el: Move to obsolete/abbrevlist.el.
+
+       * help-mode.el (help-mode-finish): Tweak regexp.
+
+2011-03-23  Glenn Morris  <rgm@gnu.org>
+
+       * eshell/esh-opt.el (eshell-eval-using-options):
+       Do not bind unused local variable `eshell-option-stub'.
+
+       * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
+
+2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
+
+       * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
+       keymap variable in `with-no-warnings' to avoid a warning when the
+       keymap has been already `defconst'ed.
+
 2011-03-22  Leo Liu  <sdl.web@gmail.com>
 
        * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
        (provide-theme): Ignore custom--inhibit-theme-enable.
        (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
        (custom-enabling-themes): Delete variable.
-       (enable-theme): Accept only loaded themes as arguments.  Ignore
-       the special custom-enabled-themes variable.
+       (enable-theme): Accept only loaded themes as arguments.
+       Ignore the special custom-enabled-themes variable.
        (custom-enabled-themes): Forbid themes from setting this.
        Eliminate use of custom-enabling-themes.
        (custom-push-theme): Quote "changed" custom var entry.
 
 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
 
-       * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
-       not use `tramp-file-name-port', because this returns also
+       * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
+       Do not use `tramp-file-name-port', because this returns also
        `tramp-default-port'.
 
 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
        * emacs-lisp/package.el (package-tar-file-info): Handle also
        remote files.
 
-       * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
-       `equal' for upload base check.
+       * emacs-lisp/package-x.el (package-upload-buffer-internal):
+       Use `equal' for upload base check.
 
 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
 
 2011-03-03  Christian Ohler  <ohler@gnu.org>
 
        * emacs-lisp/ert.el (ert--explain-equal): New function.
-       (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
+       (ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
        All callers changed.
-       (ert--explain-equal-including-properties): Renamed from
+       (ert--explain-equal-including-properties): Rename from
        `ert--explain-not-equal-including-properties'.  All callers
        changed.
 
 
        Sync with Tramp 2.1.19.
 
-       * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
-       deleting tmpfile.
+       * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
+       Protect deleting tmpfile.
        (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
 
        * net/tramp.el (tramp-handle-expand-file-name)
        * net/tramp-ftp.el (tramp-ftp-file-name-handler):
        Use `delete-file' instead of `tramp-compat-delete-file'.
 
-       * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
-       `delete-file' instead of `tramp-compat-delete-file'.
+       * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
+       Use `delete-file' instead of `tramp-compat-delete-file'.
 
        * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
        Use `delete-file' instead of `tramp-compat-delete-file'.