comparison src/dired.c @ 770:336a418893b5

[xemacs-hg @ 2002-03-08 13:33:12 by adrian] file-name-all-completions vs. completion-ignored-extensions <s5tzo2u3vsx.fsf@goedel1.math.washington.edu>
author adrian
date Fri, 08 Mar 2002 13:33:14 +0000
parents a307f9a2021d
children 943eaba38521
comparison
equal deleted inserted replaced
769:d007336dd239 770:336a418893b5
219 } 219 }
220 220
221 DEFUN ("file-name-all-completions", Ffile_name_all_completions, 2, 2, 0, /* 221 DEFUN ("file-name-all-completions", Ffile_name_all_completions, 2, 2, 0, /*
222 Return a list of all completions of PARTIAL-FILENAME in DIRECTORY. 222 Return a list of all completions of PARTIAL-FILENAME in DIRECTORY.
223 These are all file names in DIRECTORY which begin with PARTIAL-FILENAME. 223 These are all file names in DIRECTORY which begin with PARTIAL-FILENAME.
224
225 File names which end with any member of `completion-ignored-extensions'
226 are not considered as possible completions for PARTIAL-FILENAME unless
227 there is no other possible completion. `completion-ignored-extensions'
228 is not applied to the names of directories.
229 */ 224 */
230 (partial_filename, directory)) 225 (partial_filename, directory))
231 { 226 {
232 /* This function can GC. GC checked 1997.06.04. */ 227 /* This function can GC. GC checked 1997.06.04. */
233 Lisp_Object handler; 228 Lisp_Object handler;
965 { 960 {
966 DEFVAR_LISP ("completion-ignored-extensions", &Vcompletion_ignored_extensions /* 961 DEFVAR_LISP ("completion-ignored-extensions", &Vcompletion_ignored_extensions /*
967 *Completion ignores filenames ending in any string in this list. 962 *Completion ignores filenames ending in any string in this list.
968 This variable does not affect lists of possible completions, 963 This variable does not affect lists of possible completions,
969 but does affect the commands that actually do completions. 964 but does affect the commands that actually do completions.
970 It is used by the functions `file-name-completion' and 965 It is used by the function `file-name-completion'.
971 `file-name-all-completions'.
972 */ ); 966 */ );
973 Vcompletion_ignored_extensions = Qnil; 967 Vcompletion_ignored_extensions = Qnil;
974 } 968 }