?
Current Path : /usr/share/emacs/24.3/lisp/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/locate.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:24 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/locate.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (require 'dired) (defvar locate-current-filter nil) (defvar locate-local-filter nil) (defvar locate-local-search nil) (defvar locate-local-prompt nil) (byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\313\314\315\306\301&\210\310\316\302\317\314\320\306\301&\207" [custom-declare-group locate nil "Interface to the locate command." :prefix "locate-" :group external custom-declare-variable locate-command "locate" "Executable program for searching a database of files.\nThe Emacs commands `locate' and `locate-with-filter' use this.\nThe value should be a program that can be called from a shell\nwith one argument, SEARCH-STRING. The program determines which\ndatabase it searches. The output of the program should consist\nof those file names in the database that match SEARCH-STRING,\nlisted one per line, possibly with leading or trailing\nwhitespace. If the output is in another form, you may have to\nredefine the function `locate-get-file-positions'.\n\nThe program may interpret SEARCH-STRING as a literal string, a\nshell pattern or a regular expression. The exact rules of what\nconstitutes a match may also depend on the program.\n\nThe standard value of this variable is \"locate\".\nThis program normally searches a database of all files on your\nsystem, or of all files that you have access to. Consult the\ndocumentation of that program for the details about how it determines\nwhich file names match SEARCH-STRING. (Those details vary highly with\nthe version.)" :type string locate-post-command-hook "List of hook functions run after `locate' (see `run-hooks')." hook] 8) #@49 The history list used by the \[locate] command. (defvar locate-history-list nil (#$ . 2159)) #@61 The history list used by the \[locate-with-filter] command. (defvar locate-grep-history-list nil (#$ . 2258)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\313\306\307&\210\300\314\315\316\304\317\306\307&\210\300\320\315\321\304\322\306\307&\210\300\323\324\325\304\313\306\307\326\327& \210\300\330\315\331\304\332\306\307\326\327& \210\300\333\334\335\304\313\306\307&\210\300\336\337\340\304\313\306\307\326\327& \210\300\341\315\342\306\307\304\332&\210\300\343\315\344\304\345\306\307&\207" [custom-declare-variable locate-make-command-line 'locate-default-make-command-line "Function used to create the locate command line.\nThe Emacs commands `locate' and `locate-with-filter' use this.\nThis function should take one argument, a string (the name to find)\nand return a list of strings. The first element of the list should be\nthe name of a command to be executed by a shell, the remaining elements\nshould be the arguments to that command (including the name to find)." :type function :group locate locate-buffer-name "*Locate*" "Name of the buffer to show results from the \\[locate] command." string locate-fcodes-file nil "File name for the database of file names used by `locate'.\nIf non-nil, `locate' uses this name in the header of the `*Locate*'\nbuffer. If nil, it mentions no file name in that header.\n\nJust setting this variable does not actually change the database\nthat `locate' searches. The executive program that the Emacs\nfunction `locate' uses, as given by the variables `locate-command'\nor `locate-make-command-line', determines the database." (choice (const :tag "None" nil) file) locate-header-face "Face used to highlight the locate header." (choice (const :tag "None" nil) face) locate-ls-subdir-switches (purecopy "-al") "`ls' switches for inserting subdirectories in `*Locate*' buffers.\nThis should contain the \"-l\" switch, but not the \"-F\" or \"-b\" switches." :version "22.1" locate-update-when-revert "This option affects how the *Locate* buffer gets reverted.\nIf non-nil, offer to update the locate database when reverting that buffer.\n(Normally, you need to have root privileges for this to work. See the\noption `locate-update-path'.)\nIf nil, reverting does not update the locate database." boolean locate-update-command "updatedb" "The executable program used to update the locate database." locate-update-path "/" "The default directory from where `locate-update-command' is called.\nUsually, root permissions are required to run that command. This\ncan be achieved by setting this option to \"/su::\" or \"/sudo::\"\n(if you have the appropriate authority). If your current user\npermissions are sufficient to run the command, you can set this\noption to \"/\"." locate-prompt-for-command "If non-nil, the `locate' command prompts for a command to run.\nOtherwise, that behavior is invoked via a prefix argument.\n\nSetting this option non-nil actually inverts the meaning of a prefix arg;\nthat is, with a prefix arg, you get the default behavior." locate-mode-hook "List of hook functions run by `locate-mode' (see `run-mode-hooks')." hook] 10) (defalias 'locate-default-make-command-line #[(search-string) " D\207" [locate-command search-string] 2]) (defalias 'locate-word-at-point #[nil "`\301\212\302\303x\210`)\212\302\303w\210\304x\210`)\")\207" [pt buffer-substring-no-properties "-a-zA-Z0-9." nil "."] 4]) (defalias 'locate-prompt-for-search-string #[nil "\203 \203 \204, \203, \n\306!\307\310@\311\312\313A\314#Q\315@G\\B\316\211\317%)\207\320 \307\fG\321V\203>