?
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/recentf.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:29 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/recentf.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\207" [require easymenu tree-widget timer] 2) #@32 List of recently opened files. (defvar recentf-list nil (#$ . 643)) #@54 Return non-nil if recentf mode is currently enabled. (defalias 'recentf-enabled-p #[nil "\301>\207" [kill-emacs-hook recentf-save-list] 2 (#$ . 717)]) (byte-code "\300\301\302\303#\210\304\305\306\307\310\311\312\313&\210\304\314\306\315\312\305%\210\316\317\320\321\312\305\322\323&\210\316\324\325\326\312\305\322\327\330\331\332\333&\210\316\334\335\336\312\305\322\337&\210\316\340\306\341\312\305\322\342&\207" [put recentf-enabled-p byte-optimizer byte-compile-inline-expand custom-declare-group recentf nil "Maintain a menu of recently opened files." :version "21.1" :group files recentf-filters "Group to customize recentf menu filters.\nYou should define the options of your own filters in this group." custom-declare-variable recentf-max-saved-items 20 "Maximum number of items of the recent list that will be saved.\nA nil value means to save the whole list.\nSee the command `recentf-save-list'." :type integer recentf-save-file (convert-standard-filename "~/.recentf") "File to save the recent list into." file :initialize custom-initialize-default :set #[(symbol value) "\304!\305\n\"\210\n \232?\205 \205 \306 )\207" [symbol oldvalue value recentf-mode eval custom-set-default recentf-load-list] 3] recentf-save-file-modes 384 "Mode bits of recentf save file, as an integer, or nil.\nIf non-nil, after writing `recentf-save-file', set its mode bits to\nthis value. By default give R/W access only to the user who owns that\nfile. See also the function `set-file-modes'." (choice (const :tag "Don't change" nil) integer) recentf-exclude "List of regexps and predicates for filenames excluded from the recent list.\nWhen a filename matches any of the regexps or satisfies any of the\npredicates it is excluded from the recent list.\nA predicate is a function that is passed a filename to check and that\nmust return non-nil to exclude it." (repeat (choice regexp function))] 12) #@104 Return non-nil if FILE should be kept in the recent list. It handles the case of remote files as well. (defalias 'recentf-keep-default-predicate #[(file) "\301\302\303#\203\f \304!\207\301!\206 \304!\207" [file file-remote-p nil t file-readable-p] 4 (#$ . 2630)]) #@615 List of regexps and predicates for filenames kept in the recent list. Regexps and predicates are tried in the specified order. When nil all filenames are kept in the recent list. When a filename matches any of the regexps or satisfies any of the predicates it is kept in the recent list. The default is to keep readable files. Remote files are checked for readability only in case a connection is established to that remote system, otherwise they are kept in the recent list without checking their readability. A predicate is a function that is passed a filename to check and that must return non-nil to keep it. (custom-declare-variable 'recentf-keep ''(recentf-keep-default-predicate) '(#$ . 2906) :group 'recentf :type '(repeat (choice regexp function))) #@132 Function called when the recentf menu customization has changed. Set VARIABLE with VALUE, and force a rebuild of the recentf menu. (defalias 'recentf-menu-customization-changed #[(variable value) "\303\304!\203 \305>\203 \306 \210\307 \n\"\210\310 \207\307 \n\"\207" [kill-emacs-hook variable value featurep recentf recentf-save-list recentf-hide-menu set-default recentf-show-menu] 3 (#$ . 3672)]) (byte-code "\302\303\304\305\306\307\310\311\312\313& \210\302\314\315\316\306\307\310\317\312\313& \210\302\320\321\322\306\307\310\323\312\313& \210\302\324\325\326\306\307\310\327&\210\302\330\331\332\306\307\310\333&\210\302\334\335\336\306\307\310\337&\210\302\340\335\341\306\307\310\342&\210\343\344\345\335#\210\346\335\211\203 @\344N\203x \345N\204x \347\345\344N#\210 A\211\204a *\350\344\345\351#\210\302\345\352\353\306\307\310\342&\210\302\354\355\356\306\307\310\357\312\360& \210\302\361\352\362\306\307\310\342&\210\302\363\335\364\306\307\310\365&\210\302\366\335\367\306\307\310\370&\210\302\371\352\372\306\307\310\342&\207" [prop --dolist-tail-- custom-declare-variable recentf-menu-title "Open Recent" "Name of the recentf menu." :group recentf :type string :set recentf-menu-customization-changed recentf-menu-path '("File") "Path where to add the recentf menu.\nIf nil add it at top level (see also `easy-menu-add-item')." (choice (const :tag "Top Level" nil) (sexp :tag "Menu Path")) recentf-menu-before "Open File..." "Name of the menu before which the recentf menu will be added.\nIf nil add it at end of menu (see also `easy-menu-add-item')." (choice (string :tag "Name") (const :tag "Last" nil)) recentf-menu-action 'find-file "Function to invoke with a filename item of the recentf menu.\nThe default is to call `find-file' to edit the selected file." function recentf-max-menu-items 10 "Maximum number of items in the recentf menu." integer recentf-menu-filter nil "Function used to filter files displayed in the recentf menu.\nA nil value means no filter. The following functions are predefined:\n\n- `recentf-sort-ascending'\n Sort menu items in ascending order.\n- `recentf-sort-descending'\n Sort menu items in descending order.\n- `recentf-sort-basenames-ascending'\n Sort menu items by filenames sans directory in ascending order.\n- `recentf-sort-basenames-descending'\n Sort menu items by filenames sans directory in descending order.\n- `recentf-sort-directories-ascending'\n Sort menu items by directories in ascending order.\n- `recentf-sort-directories-descending'\n Sort menu items by directories in descending order.\n- `recentf-show-basenames'\n Show filenames sans directory in menu items.\n- `recentf-show-basenames-ascending'\n Show filenames sans directory in ascending order.\n- `recentf-show-basenames-descending'\n Show filenames sans directory in descending order.\n- `recentf-relative-filter'\n Show filenames relative to `default-directory'.\n- `recentf-arrange-by-rule'\n Show sub-menus following user defined rules.\n- `recentf-arrange-by-mode'\n Show a sub-menu for each major mode.\n- `recentf-arrange-by-dir'\n Show a sub-menu for each directory.\n- `recentf-filter-changer'\n Manage a menu of filters.\n\nThe filter function is called with one argument, the list of menu\nelements used to build the menu and must return a new list of menu\nelements (see `recentf-make-menu-element' for menu element form)." (radio (const nil) (function-item recentf-sort-ascending) (function-item recentf-sort-descending) (function-item recentf-sort-basenames-ascending) (function-item recentf-sort-basenames-descending) (function-item recentf-sort-directories-ascending) (function-item recentf-sort-directories-descending) (function-item recentf-show-basenames) (function-item recentf-show-basenames-ascending) (function-item recentf-show-basenames-descending) (function-item recentf-relative-filter) (function-item recentf-arrange-by-rule) (function-item recentf-arrange-by-mode) (function-item recentf-arrange-by-dir) (function-item recentf-filter-changer) function) recentf-menu-open-all-flag "Non-nil means to show an \"All...\" item in the menu.\nThis item will replace the \"More...\" item." boolean defvaralias recentf-menu-append-commands-p recentf-menu-append-commands-flag (saved-value saved-variable-comment) put make-obsolete-variable "22.1" t "Non-nil means to append command items to the menu." recentf-auto-cleanup 'mode "Define when to automatically cleanup the recent list.\nThe following values can be set:\n\n- `mode'\n Cleanup when turning the mode on (default).\n- `never'\n Never cleanup the list automatically.\n- A number\n Cleanup each time Emacs has been idle that number of seconds.\n- A time string\n Cleanup at specified time string, for example at \"11:00pm\".\n\nSetting this variable directly does not take effect;\nuse \\[customize].\n\nSee also the command `recentf-cleanup', that can be used to manually\ncleanup the list." (radio (const :tag "When mode enabled" :value mode) (const :tag "Never" :value never) (number :tag "When idle that seconds" :value 300) (string :tag "At time" :value "11:00pm")) #[(variable value) "\302 \"\210\303\304!\205 \305 \207" [variable value set-default featurep recentf recentf-auto-cleanup] 3] recentf-initialize-file-name-history "Non-nil means to initialize `file-name-history' with the recent list.\nIf `file-name-history' is not empty, do nothing." recentf-load-hook "Normal hook run at end of loading the `recentf' package." hook recentf-filename-handlers "Functions to post process recent file names.\nThey are successively passed a file name to transform it." (choice (const :tag "None" nil) (repeat :tag "Functions" (choice (const file-truename) (const abbreviate-file-name) (function :tag "Other function")))) recentf-show-file-shortcuts-flag "Whether to show ``[N]'' for the Nth item up to 10.\nIf non-nil, `recentf-open-files' will show labels for keys that can be\nused as shortcuts to open the Nth file."] 11) #@61 Non-nil if recentf searches and matches should ignore case. (defconst recentf-case-fold-search (memq system-type '(windows-nt cygwin)) (#$ . 9693)) #@116 Return non-nil if strings S1 and S2 have identical contents. Ignore case if `recentf-case-fold-search' is non-nil. (defalias 'recentf-string-equal #[(s1 s2) "\203\n \227\n\227\230\207 \n\230\207" [recentf-case-fold-search s1 s2] 2 (#$ . 9848)]) (put 'recentf-string-equal 'byte-optimizer 'byte-compile-inline-expand) #@123 Return non-nil if string S1 is less than S2 in lexicographic order. Ignore case if `recentf-case-fold-search' is non-nil. (defalias 'recentf-string-lessp #[(s1 s2) "\203\n \227\n\227\231\207 \n\231\207" [recentf-case-fold-search s1 s2] 2 (#$ . 10174)]) (put 'recentf-string-lessp 'byte-optimizer 'byte-compile-inline-expand) #@206 Return non-nil if ELT is an element of LIST. The value is actually the tail of LIST whose car is ELT. ELT must be a string and LIST a list of strings. Ignore case if `recentf-case-fold-search' is non-nil. (defalias 'recentf-string-member #[(elt list) "\203# @\f\203 \227\n\227\230\202 \n\230*\204# A\211\204 \207" [list elt s2 s1 recentf-case-fold-search] 3 (#$ . 10508)]) #@49 Return from L the list of its first N elements. (defalias 'recentf-trunc-list #[(l n) "\303 \203 \n\304V\203 @B\nS A\211\204 \237)\207" [nl l n nil 0] 3 (#$ . 10900)]) (put 'recentf-trunc-list 'byte-optimizer 'byte-compile-inline-expand) #@203 Insert a "(setq VARIABLE value)" in the current buffer. When the value of VARIABLE is a list, optional argument LIMIT specifies a maximum number of elements to insert. By default insert the full list. (defalias 'recentf-dump-variable #[(variable &optional limit) "J\211:\204 \306\307 #c\202g \n\250\203? \n\310V\203? \n\311\f\203; \310V\203; \f@ BS\fA\211\204&