• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/emacs-93/emacs/src/

Lines Matching defs:handler

177    whose I/O is done with a special handler.  */
180 /* Property name of a file name handler,
350 DEFUN ("find-file-name-handler", Ffind_file_name_handler, Sfind_file_name_handler, 2, 2, 0,
351 doc: /* Return FILENAME's handler function for OPERATION, if it has one.
354 `file-name-handler-alist' matches it.
384 Lisp_Object handler = XCDR (elt);
387 if (SYMBOLP (handler))
388 operations = Fget (handler, Qoperations);
396 handler = XCDR (elt);
397 tem = Fmemq (handler, inhibited_handlers);
400 result = handler;
428 Lisp_Object handler;
433 call the corresponding file handler. */
434 handler = Ffind_file_name_handler (filename, Qfile_name_directory);
435 if (!NILP (handler))
436 return call2 (handler, Qfile_name_directory, filename);
499 Lisp_Object handler;
504 call the corresponding file handler. */
505 handler = Ffind_file_name_handler (filename, Qfile_name_nondirectory);
506 if (!NILP (handler))
507 return call2 (handler, Qfile_name_nondirectory, filename);
532 intervention of any file handler.
540 Lisp_Object handler;
543 call the corresponding file handler. */
544 handler = Ffind_file_name_handler (filename, Qunhandled_file_name_directory);
545 if (!NILP (handler))
546 return call2 (handler, Qunhandled_file_name_directory, filename);
654 Lisp_Object handler;
661 call the corresponding file handler. */
662 handler = Ffind_file_name_handler (file, Qfile_name_as_directory);
663 if (!NILP (handler))
664 return call2 (handler, Qfile_name_as_directory, file);
848 Lisp_Object handler;
856 call the corresponding file handler. */
857 handler = Ffind_file_name_handler (directory, Qdirectory_file_name);
858 if (!NILP (handler))
859 return call2 (handler, Qdirectory_file_name, directory);
1070 Lisp_Object handler, result;
1076 call the corresponding file handler. */
1077 handler = Ffind_file_name_handler (name, Qexpand_file_name);
1078 if (!NILP (handler))
1079 return call3 (handler, Qexpand_file_name, name, default_directory);
1105 handler = Ffind_file_name_handler (default_directory, Qexpand_file_name);
1106 if (!NILP (handler))
1107 return call3 (handler, Qexpand_file_name, name, default_directory);
1721 and perhaps call the corresponding file handler. This is needed
1725 handler = Ffind_file_name_handler (result, Qexpand_file_name);
1726 if (!NILP (handler))
1727 return call3 (handler, Qexpand_file_name, result, default_directory);
2160 Lisp_Object handler;
2165 call the corresponding file handler. */
2166 handler = Ffind_file_name_handler (filename, Qsubstitute_in_file_name);
2167 if (!NILP (handler))
2168 return call2 (handler, Qsubstitute_in_file_name, filename);
2181 /* Start over with the new string, so we check the file-name-handler
2450 Lisp_Object handler;
2469 call the corresponding file handler. */
2470 handler = Ffind_file_name_handler (file, Qcopy_file);
2472 if (NILP (handler))
2473 handler = Ffind_file_name_handler (newname, Qcopy_file);
2474 if (!NILP (handler))
2475 RETURN_UNGCPRO (call5 (handler, Qcopy_file, file, newname,
2642 Lisp_Object handler;
2648 handler = Ffind_file_name_handler (directory, Qmake_directory_internal);
2649 if (!NILP (handler))
2650 return call2 (handler, Qmake_directory_internal, directory);
2672 Lisp_Object handler;
2678 handler = Ffind_file_name_handler (directory, Qdelete_directory);
2679 if (!NILP (handler))
2680 return call2 (handler, Qdelete_directory, directory);
2698 Lisp_Object handler;
2711 handler = Ffind_file_name_handler (filename, Qdelete_file);
2712 if (!NILP (handler))
2713 return call2 (handler, Qdelete_file, filename);
2753 Lisp_Object handler;
2775 call the corresponding file handler. */
2776 handler = Ffind_file_name_handler (file, Qrename_file);
2777 if (NILP (handler))
2778 handler = Ffind_file_name_handler (newname, Qrename_file);
2779 if (!NILP (handler))
2780 RETURN_UNGCPRO (call4 (handler, Qrename_file,
2837 Lisp_Object handler;
2853 call the corresponding file handler. */
2854 handler = Ffind_file_name_handler (file, Qadd_name_to_file);
2855 if (!NILP (handler))
2856 RETURN_UNGCPRO (call4 (handler, Qadd_name_to_file, file,
2860 call the corresponding file handler. */
2861 handler = Ffind_file_name_handler (newname, Qadd_name_to_file);
2862 if (!NILP (handler))
2863 RETURN_UNGCPRO (call4 (handler, Qadd_name_to_file, file,
2894 Lisp_Object handler;
2914 call the corresponding file handler. */
2915 handler = Ffind_file_name_handler (filename, Qmake_symbolic_link);
2916 if (!NILP (handler))
2917 RETURN_UNGCPRO (call4 (handler, Qmake_symbolic_link, filename,
2921 call the corresponding file handler. */
2922 handler = Ffind_file_name_handler (linkname, Qmake_symbolic_link);
2923 if (!NILP (handler))
2924 RETURN_UNGCPRO (call4 (handler, Qmake_symbolic_link, filename,
3085 Lisp_Object handler;
3092 call the corresponding file handler. */
3093 handler = Ffind_file_name_handler (absname, Qfile_exists_p);
3094 if (!NILP (handler))
3095 return call2 (handler, Qfile_exists_p, absname);
3109 Lisp_Object handler;
3115 call the corresponding file handler. */
3116 handler = Ffind_file_name_handler (absname, Qfile_executable_p);
3117 if (!NILP (handler))
3118 return call2 (handler, Qfile_executable_p, absname);
3132 Lisp_Object handler;
3141 call the corresponding file handler. */
3142 handler = Ffind_file_name_handler (absname, Qfile_readable_p);
3143 if (!NILP (handler))
3144 return call2 (handler, Qfile_readable_p, absname);
3182 Lisp_Object handler;
3189 call the corresponding file handler. */
3190 handler = Ffind_file_name_handler (absname, Qfile_writable_p);
3191 if (!NILP (handler))
3192 return call2 (handler, Qfile_writable_p, absname);
3231 Lisp_Object handler, encoded_filename, absname;
3240 call the corresponding file handler. */
3241 handler = Ffind_file_name_handler (absname, Qaccess_file);
3242 if (!NILP (handler))
3243 return call3 (handler, Qaccess_file, absname, string);
3266 Lisp_Object handler;
3272 call the corresponding file handler. */
3273 handler = Ffind_file_name_handler (filename, Qfile_symlink_p);
3274 if (!NILP (handler))
3275 return call2 (handler, Qfile_symlink_p, filename);
3333 Lisp_Object handler;
3338 call the corresponding file handler. */
3339 handler = Ffind_file_name_handler (absname, Qfile_directory_p);
3340 if (!NILP (handler))
3341 return call2 (handler, Qfile_directory_p, absname);
3361 Lisp_Object handler;
3366 call the corresponding file handler. */
3367 handler = Ffind_file_name_handler (filename, Qfile_accessible_directory_p);
3368 if (!NILP (handler))
3369 return call2 (handler, Qfile_accessible_directory_p, filename);
3388 Lisp_Object handler;
3393 call the corresponding file handler. */
3394 handler = Ffind_file_name_handler (absname, Qfile_regular_p);
3395 if (!NILP (handler))
3396 return call2 (handler, Qfile_regular_p, absname);
3430 Lisp_Object handler;
3435 call the corresponding file handler. */
3436 handler = Ffind_file_name_handler (absname, Qfile_modes);
3437 if (!NILP (handler))
3438 return call2 (handler, Qfile_modes, absname);
3459 Lisp_Object handler;
3465 call the corresponding file handler. */
3466 handler = Ffind_file_name_handler (absname, Qset_file_modes);
3467 if (!NILP (handler))
3468 return call3 (handler, Qset_file_modes, absname, mode);
3520 Lisp_Object handler;
3530 call the corresponding file handler. */
3531 handler = Ffind_file_name_handler (absname, Qset_file_times);
3532 if (!NILP (handler))
3533 return call3 (handler, Qset_file_times, absname, time);
3583 Lisp_Object handler;
3596 call the corresponding file handler. */
3597 handler = Ffind_file_name_handler (absname1, Qfile_newer_than_file_p);
3598 if (NILP (handler))
3599 handler = Ffind_file_name_handler (absname2, Qfile_newer_than_file_p);
3600 if (!NILP (handler))
3601 return call3 (handler, Qfile_newer_than_file_p, absname1, absname2);
3698 /* Condition-case handler used when reading from non-regular files
3743 Lisp_Object handler, val, insval, orig_filename;
3773 call the corresponding file handler. */
3774 handler = Ffind_file_name_handler (filename, Qinsert_file_contents);
3775 if (!NILP (handler))
3777 val = call6 (handler, Qinsert_file_contents, filename,
4687 if (NILP (handler))
4697 if (NILP (handler))
4981 Lisp_Object handler;
5019 call the corresponding file handler. */
5020 handler = Ffind_file_name_handler (filename, Qwrite_region);
5021 /* If FILENAME has no handler, see if VISIT has one. */
5022 if (NILP (handler) && STRINGP (visit))
5023 handler = Ffind_file_name_handler (visit, Qwrite_region);
5025 if (!NILP (handler))
5028 val = call6 (handler, Qwrite_region, start, end,
5663 Lisp_Object handler;
5673 call the corresponding file handler. */
5674 handler = Ffind_file_name_handler (b->filename,
5676 if (!NILP (handler))
5677 return call2 (handler, Qverify_visited_file_modtime, buf);
5742 Lisp_Object handler;
5747 call the corresponding file handler. */
5748 handler = Ffind_file_name_handler (filename, Qset_visited_file_modtime);
5749 if (!NILP (handler))
5750 /* The handler can find the file name the same way we did. */
5751 return call2 (handler, Qset_visited_file_modtime, Qnil);
6683 DEFVAR_LISP ("file-name-handler-alist", &Vfile_name_handler_alist,
6694 The function `find-file-name-handler' checks this list for a handler
6715 If `insert-file-contents' is intercepted by a handler from
6716 `file-name-handler-alist', that handler is responsible for calling the