aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2004-06-09 01:13:11 +0000
committerLuc Teirlinck2004-06-09 01:13:11 +0000
commitca0028cefd0fa9affc66918019a9fd0b5a63a1a5 (patch)
tree1d64a538592b34697a3ddf17b828a13531958737
parent05dcf18afa696f9b4e248f0caf285e401dd12910 (diff)
downloademacs-ca0028cefd0fa9affc66918019a9fd0b5a63a1a5.tar.gz
emacs-ca0028cefd0fa9affc66918019a9fd0b5a63a1a5.zip
(dired-diff, dired-backup-diff)
(dired-clean-directory, dired-do-chmod, dired-do-chgrp) (dired-do-chown, dired-do-touch, dired-do-print) (dired-do-shell-command, dired-do-kill-lines, dired-do-compress) (dired-do-byte-compile, dired-do-load, dired-do-redisplay) (dired-create-directory, dired-do-copy, dired-do-symlink) (dired-do-hardlink, dired-do-rename, dired-do-rename-regexp) (dired-do-copy-regexp, dired-do-hardlink-regexp) (dired-do-symlink-regexp, dired-upcase, dired-downcase) (dired-maybe-insert-subdir, dired-next-subdir) (dired-prev-subdir, dired-goto-subdir, dired-mark-subdir-files) (dired-kill-subdir, dired-tree-up, dired-tree-down) (dired-hide-subdir, dired-hide-all, dired-show-file-type) (dired-run-shell-command, dired-query): Remove redundant (or incorrect) autoloads.
-rw-r--r--lisp/ChangeLog24
-rw-r--r--lisp/dired.el238
2 files changed, 24 insertions, 238 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0421851eabc..985e6e4eade 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,27 @@
12004-06-08 Luc Teirlinck <teirllm@auburn.edu>
2
3 * dired.el (dired-diff, dired-backup-diff)
4 (dired-clean-directory, dired-do-chmod, dired-do-chgrp)
5 (dired-do-chown, dired-do-touch, dired-do-print)
6 (dired-do-shell-command, dired-do-kill-lines, dired-do-compress)
7 (dired-do-byte-compile, dired-do-load, dired-do-redisplay)
8 (dired-create-directory, dired-do-copy, dired-do-symlink)
9 (dired-do-hardlink, dired-do-rename, dired-do-rename-regexp)
10 (dired-do-copy-regexp, dired-do-hardlink-regexp)
11 (dired-do-symlink-regexp, dired-upcase, dired-downcase)
12 (dired-maybe-insert-subdir, dired-next-subdir)
13 (dired-prev-subdir, dired-goto-subdir, dired-mark-subdir-files)
14 (dired-kill-subdir, dired-tree-up, dired-tree-down)
15 (dired-hide-subdir, dired-hide-all, dired-show-file-type)
16 (dired-run-shell-command, dired-query): Remove redundant,
17 or incorrect, autoloads.
18
19 * dired-aux.el (dired-kill-tree): Do not kill DIRNAME, even if it
20 does not end in a slash. Add optional argument KILL-ROOT. Update
21 docstring.
22 (dired-do-touch, dired-clean-directory, dired-run-shell-command)
23 (dired-query): Add autoloads.
24
12004-06-08 Daniel Pfeiffer <occitan@esperanto.org> 252004-06-08 Daniel Pfeiffer <occitan@esperanto.org>
2 26
3 * progmodes/compile.el (compilation-set-window-height): Rearrange 27 * progmodes/compile.el (compilation-set-window-height): Rearrange
diff --git a/lisp/dired.el b/lisp/dired.el
index acf5174170f..f206b03cd26 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -3036,244 +3036,6 @@ To be called first in body of `dired-sort-other', etc."
3036 ;; listing: 3036 ;; listing:
3037 (list (car (reverse dired-subdir-alist)))))))) 3037 (list (car (reverse dired-subdir-alist))))))))
3038 3038
3039;; To make this file smaller, the less common commands
3040;; go in a separate file. But autoload them here
3041;; to make the separation invisible.
3042
3043(autoload 'dired-diff "dired-aux"
3044 "Compare file at point with file FILE using `diff'.
3045FILE defaults to the file at the mark. (That's the mark set by
3046\\[set-mark-command], not by Dired's \\[dired-mark] command.)
3047The prompted-for file is the first file given to `diff'."
3048 t)
3049
3050(autoload 'dired-backup-diff "dired-aux"
3051 "Diff this file with its backup file or vice versa.
3052Uses the latest backup, if there are several numerical backups.
3053If this file is a backup, diff it with its original.
3054The backup file is the first file given to `diff'."
3055 t)
3056
3057(autoload 'dired-clean-directory "dired-aux"
3058 "Flag numerical backups for deletion.
3059Spares `dired-kept-versions' latest versions, and `kept-old-versions' oldest.
3060Positive prefix arg KEEP overrides `dired-kept-versions';
3061Negative prefix arg KEEP overrides `kept-old-versions' with KEEP made positive.
3062
3063To clear the flags on these files, you can use \\[dired-flag-backup-files]
3064with a prefix argument."
3065 t)
3066
3067(autoload 'dired-do-chmod "dired-aux"
3068 "Change the mode of the marked (or next ARG) files.
3069This calls chmod, thus symbolic modes like `g+w' are allowed."
3070 t)
3071
3072(autoload 'dired-do-chgrp "dired-aux"
3073 "Change the group of the marked (or next ARG) files."
3074 t)
3075
3076(autoload 'dired-do-chown "dired-aux"
3077 "Change the owner of the marked (or next ARG) files."
3078 t)
3079
3080(autoload 'dired-do-touch "dired-aux"
3081 "Change the timestamp of the marked (or next ARG) files."
3082 t)
3083
3084(autoload 'dired-do-print "dired-aux"
3085 "Print the marked (or next ARG) files.
3086Uses the shell command coming from variables `lpr-command' and
3087`lpr-switches' as default."
3088 t)
3089
3090(autoload 'dired-do-shell-command "dired-aux"
3091 "Run a shell command COMMAND on the marked files.
3092If no files are marked or a specific numeric prefix arg is given,
3093the next ARG files are used. Just \\[universal-argument] means the current file.
3094The prompt mentions the file(s) or the marker, as appropriate.
3095
3096If there is a `*' in COMMAND, surrounded by whitespace, this runs
3097COMMAND just once with the entire file list substituted there.
3098
3099If there is no `*', but there is a `?' in COMMAND, surrounded by
3100whitespace, this runs COMMAND on each file individually with the
3101file name substituted for `?'.
3102
3103Otherwise, this runs COMMAND on each file individually with the
3104file name added at the end of COMMAND (separated by a space).
3105
3106`*' and `?' when not surrounded by whitespace have no special
3107significance for `dired-do-shell-command', and are passed through
3108normally to the shell, but you must confirm first. To pass `*' by
3109itself to the shell as a wildcard, type `*\"\"'.
3110
3111If COMMAND produces output, it goes to a separate buffer.
3112
3113This feature does not try to redisplay Dired buffers afterward, as
3114there's no telling what files COMMAND may have changed.
3115Type \\[dired-do-redisplay] to redisplay the marked files.
3116
3117When COMMAND runs, its working directory is the top-level directory of
3118the Dired buffer, so output files usually are created there instead of
3119in a subdir.
3120
3121In a noninteractive call (from Lisp code), you must specify
3122the list of file names explicitly with the FILE-LIST argument."
3123 t)
3124
3125(autoload 'dired-do-kill-lines "dired-aux"
3126 "Kill all marked lines (not the files).
3127With a prefix arg, kill all lines not marked or flagged."
3128 t)
3129
3130(autoload 'dired-do-compress "dired-aux"
3131 "Compress or uncompress marked (or next ARG) files."
3132 t)
3133
3134(autoload 'dired-do-byte-compile "dired-aux"
3135 "Byte compile marked (or next ARG) Emacs Lisp files."
3136 t)
3137
3138(autoload 'dired-do-load "dired-aux"
3139 "Load the marked (or next ARG) Emacs Lisp files."
3140 t)
3141
3142(autoload 'dired-do-redisplay "dired-aux"
3143 "Redisplay all marked (or next ARG) files.
3144If on a subdir line, redisplay that subdirectory. In that case,
3145a prefix arg lets you edit the `ls' switches used for the new listing."
3146 t)
3147
3148(autoload 'dired-create-directory "dired-aux"
3149 "Create a directory called DIRECTORY."
3150 t)
3151
3152(autoload 'dired-do-copy "dired-aux"
3153 "Copy all marked (or next ARG) files, or copy the current file.
3154Thus, a zero prefix argument copies nothing. But it toggles the
3155variable `dired-copy-preserve-time' (which see)."
3156 t)
3157
3158(autoload 'dired-do-symlink "dired-aux"
3159 "Make symbolic links to current file or all marked (or next ARG) files.
3160When operating on just the current file, you specify the new name.
3161When operating on multiple or marked files, you specify a directory
3162and new symbolic links are made in that directory
3163with the same names that the files currently have."
3164 t)
3165
3166(autoload 'dired-do-hardlink "dired-aux"
3167 "Add names (hard links) current file or all marked (or next ARG) files.
3168When operating on just the current file, you specify the new name.
3169When operating on multiple or marked files, you specify a directory
3170and new hard links are made in that directory
3171with the same names that the files currently have."
3172 t)
3173
3174(autoload 'dired-do-rename "dired-aux"
3175 "Rename current file or all marked (or next ARG) files.
3176When renaming just the current file, you specify the new name.
3177When renaming multiple or marked files, you specify a directory."
3178 t)
3179
3180(autoload 'dired-do-rename-regexp "dired-aux"
3181 "Rename marked files containing REGEXP to NEWNAME.
3182As each match is found, the user must type a character saying
3183 what to do with it. For directions, type \\[help-command] at that time.
3184NEWNAME may contain \\=\\<n> or \\& as in `query-replace-regexp'.
3185REGEXP defaults to the last regexp used.
3186With a zero prefix arg, renaming by regexp affects the full file name;
3187usually only the non-directory part of file names is used and changed."
3188 t)
3189
3190(autoload 'dired-do-copy-regexp "dired-aux"
3191 "Copy all marked files containing REGEXP to NEWNAME.
3192See function `dired-do-rename-regexp' for more info."
3193 t)
3194
3195(autoload 'dired-do-hardlink-regexp "dired-aux"
3196 "Hardlink all marked files containing REGEXP to NEWNAME.
3197See function `dired-do-rename-regexp' for more info."
3198 t)
3199
3200(autoload 'dired-do-symlink-regexp "dired-aux"
3201 "Symlink all marked files containing REGEXP to NEWNAME.
3202See function `dired-do-rename-regexp' for more info."
3203 t)
3204
3205(autoload 'dired-upcase "dired-aux"
3206 "Rename all marked (or next ARG) files to upper case."
3207 t)
3208
3209(autoload 'dired-downcase "dired-aux"
3210 "Rename all marked (or next ARG) files to lower case."
3211 t)
3212
3213(autoload 'dired-maybe-insert-subdir "dired-aux"
3214 "Insert this subdirectory into the same dired buffer.
3215If it is already present, just move to it (type \\[dired-do-redisplay] to refresh),
3216 else inserts it at its natural place (as `ls -lR' would have done).
3217With a prefix arg, you may edit the ls switches used for this listing.
3218 You can add `R' to the switches to expand the whole tree starting at
3219 this subdirectory.
3220This function takes some pains to conform to `ls -lR' output."
3221 t)
3222
3223(autoload 'dired-next-subdir "dired-aux"
3224 "Go to next subdirectory, regardless of level."
3225 t)
3226
3227(autoload 'dired-prev-subdir "dired-aux"
3228 "Go to previous subdirectory, regardless of level.
3229When called interactively and not on a subdir line, go to this subdir's line."
3230 t)
3231
3232(autoload 'dired-goto-subdir "dired-aux"
3233 "Go to end of header line of DIR in this dired buffer.
3234Return value of point on success, otherwise return nil.
3235The next char is either \\n, or \\r if DIR is hidden."
3236 t)
3237
3238(autoload 'dired-mark-subdir-files "dired-aux"
3239 "Mark all files except `.' and `..'."
3240 t)
3241
3242(autoload 'dired-kill-subdir "dired-aux"
3243 "Remove all lines of current subdirectory.
3244Lower levels are unaffected."
3245 t)
3246
3247(autoload 'dired-tree-up "dired-aux"
3248 "Go up ARG levels in the dired tree."
3249 t)
3250
3251(autoload 'dired-tree-down "dired-aux"
3252 "Go down in the dired tree."
3253 t)
3254
3255(autoload 'dired-hide-subdir "dired-aux"
3256 "Hide or unhide the current subdirectory and move to next directory.
3257Optional prefix arg is a repeat factor.
3258Use \\[dired-hide-all] to (un)hide all directories."
3259 t)
3260
3261(autoload 'dired-hide-all "dired-aux"
3262 "Hide all subdirectories, leaving only their header lines.
3263If there is already something hidden, make everything visible again.
3264Use \\[dired-hide-subdir] to (un)hide a particular subdirectory."
3265 t)
3266
3267(autoload 'dired-show-file-type "dired-aux"
3268 "Print the type of FILE, according to the `file' command.
3269If FILE is a symbolic link and the optional argument DEREF-SYMLINKS is
3270true then the type of the file linked to by FILE is printed instead."
3271 t)
3272
3273(autoload 'dired-run-shell-command "dired-aux")
3274
3275(autoload 'dired-query "dired-aux")
3276
3277 3039
3278;;;; Drag and drop support 3040;;;; Drag and drop support
3279 3041