%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/vc/ |
Current File : //usr/local/share/emacs/27.2/lisp/vc/vc.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; 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 "\301\302!\210\301\303!\210\301\304!\210\305\306\"\204 \307B\310\311\312\313\314\315%\210\316\317\320\321\322DD\323\324\325%\210\316\326\320\321\327DD\330\324\331%\210\316\332\320\321\333DD\334\324\335%\210\316\336\320\321\337DD\340\324\341\342\343&\210\316\344\320\321\345DD\346\324\347\342\350&\210\316\351\320\321\352DD\353\324\354%\210\316\355\320\321\356DD\357\324\360\342\361&\210\316\362\320\321\363DD\364\324\365\342\343&\210\316\366\320\321\367DD\370\324\365\371\372&\210\316\373\320\321\374DD\375\324\365%\210\316\376\320\321\377DD\201@ \324\365\342\201A &\210\316\201B \320\321\201C DD\201D \324\201E \342\201F &\210\316\201G \320\321\201H DD\201I \324\201J %\210\316\201K \320\321\201L DD\201M \324\201N %\210\316\201O \320\321\201P DD\201Q \324\201E \342\201A &\207" [minor-mode-alist require vc-hooks vc-dispatcher cl-lib assoc vc-parent-buffer (vc-parent-buffer vc-parent-buffer-name) custom-declare-group vc nil "Emacs interface to version control systems." :group tools custom-declare-variable vc-checkin-switches funcall function #[0 "\300\207" [nil] 1] "A string or list of strings specifying extra switches for checkin.\nThese are passed to the checkin program by \\[vc-checkin]." :type (choice (const :tag "None" nil) (string :tag "Argument String") (repeat :tag "Argument List" :value (#1="") string)) vc-checkout-switches #[0 "\300\207" [nil] 1] "A string or list of strings specifying extra switches for checkout.\nThese are passed to the checkout program by \\[vc-checkout]." (choice (const :tag "None" nil) (string :tag "Argument String") (repeat :tag "Argument List" :value (#1#) string)) vc-register-switches #[0 "\300\207" [nil] 1] "A string or list of strings; extra switches for registering a file.\nThese are passed to the checkin program by \\[vc-register]." (choice (const :tag "None" nil) (string :tag "Argument String") (repeat :tag "Argument List" :value (#1#) string)) vc-diff-switches #[0 "\300\207" [nil] 1] "A string or list of strings specifying switches for diff under VC.\nWhen running diff under a given BACKEND, VC uses the first\nnon-nil value of `vc-BACKEND-diff-switches', `vc-diff-switches',\nand `diff-switches', in that order. Since nil means to check the\nnext variable in the sequence, either of the first two may use\nthe value t to mean no switches at all. `vc-diff-switches'\nshould contain switches that are specific to version control, but\nnot specific to any particular backend." (choice (const :tag "Unspecified" nil) (const :tag "None" t) (string :tag "Argument String") (repeat :tag "Argument List" :value (#1#) string)) :version "21.1" vc-annotate-switches #[0 "\300\207" [nil] 1] "A string or list of strings specifying switches for annotate under VC.\nWhen running annotate under a given BACKEND, VC uses the first\nnon-nil value of `vc-BACKEND-annotate-switches', `vc-annotate-switches',\nand `annotate-switches', in that order. Since nil means to check the\nnext variable in the sequence, either of the first two may use\nthe value t to mean no switches at all. `vc-annotate-switches'\nshould contain switches that are specific to version control, but\nnot specific to any particular backend.\n\nAs very few switches (if any) are used across different VC tools,\nplease consider using the specific `vc-BACKEND-annotate-switches'\nfor the backend you use." (choice (const :tag "Unspecified" nil) (const :tag "None" t) (string :tag "Argument String") (repeat :tag "Argument List" :value (#1#) string)) "25.1" vc-log-show-limit #[0 "\300\207" [2000] 1] "Limit the number of items shown by the VC log commands.\nZero means unlimited.\nNot all VC backends are able to support this feature." integer vc-allow-async-revert #[0 "\300\207" [nil] 1] "Specifies whether the diff during \\[vc-revert] may be asynchronous.\nEnabling this option means that you can confirm a revert operation even\nif the local changes in the file have not been found and displayed yet." (choice (const :tag "No" nil) (const :tag "Yes" t)) "22.1" vc-checkout-hook #[0 "\300\207" [nil] 1] "Normal hook (list of functions) run after checking out a file.\nSee `run-hooks'." hook vc-checkin-hook #[0 "\300\207" [nil] 1] "Normal hook (list of functions) run after commit or file checkin.\nSee also `log-edit-done-hook'." :options (log-edit-comment-to-change-log) vc-before-checkin-hook #[0 "\300\207" [nil] 1] "Normal hook (list of functions) run before a commit or a file checkin.\nSee `run-hooks'." vc-retrieve-tag-hook #[0 "\300\207" [nil] 1] "Normal hook (list of functions) run after retrieving a tag." "27.1" vc-revert-show-diff #[0 "\300\207" [t] 1] "If non-nil, `vc-revert' shows a `vc-diff' buffer before querying." boolean "24.1" vc-static-header-alist #[0 "\300\207" [(("\\.c\\'" . "\n#ifndef lint\nstatic char vcid[] = \"%s\";\n#endif /* lint */\n"))] 1] "Associate static header string templates with file types.\nA %s in the template is replaced with the first string associated with\nthe file's version control type in `vc-BACKEND-header'." (repeat (cons :format "%v" (regexp :tag "File Type") (string :tag "Header String"))) vc-comment-alist #[0 "\300\207" [((nroff-mode ".\\\"" #1#))] 1] "Special comment delimiters for generating VC headers.\nAdd an entry in this list if you need to override the normal `comment-start'\nand `comment-end' variables. This will only be necessary if the mode language\nis sensitive to blank lines." (repeat (list :format "%v" (symbol :tag "Mode") (string :tag "Comment Start") (string :tag "Comment End"))) vc-find-revision-no-save #[0 "\300\207" [nil] 1] "If non-nil, `vc-find-revision' doesn't write the created buffer to file."] 8) #@35 Clear all cached file properties. (defalias 'vc-clear-context #[0 "\301\302\"\207" [vc-file-prop-obarray fillarray 0] 3 (#$ . 6053) nil]) #@367 Execute FORM, then maybe set per-file properties for FILES. If any of FILES is actually a directory, then do the same for all buffers for files in that directory. SETTINGS is an association list of property/value pairs. After executing FORM, set those properties from SETTINGS that have not yet been updated to their corresponding values. (fn FILES FORM SETTINGS) (defalias 'with-vc-properties '(macro . #[771 "\300\301\302\303D\304BB\302\305\302\306D\307BBE\257\207" [let ((vc-touched-properties (list t)) (flist nil)) dolist file ((if (file-directory-p file) (dolist (buffer (buffer-list)) (let ((fname (buffer-file-name buffer))) (when (and fname (string-prefix-p file fname)) (push fname flist)))) (push file flist))) (file flist) setting ((let ((property (car setting))) (unless (memq property vc-touched-properties) (put (intern file vc-file-prop-obarray) property (cdr setting)))))] 12 (#$ . 6199)])) (put 'with-vc-properties 'edebug-form-spec t) #@264 Return a backend that can be used for registering FILE. If no backend declares itself responsible for FILE, then FILE must not be in a version controlled directory, so try to create a repository, prompting for the directory and the VC backend to use. (fn FILE) (defalias 'vc-backend-for-registration #[257 "\3022\201 \211\203' \211@\303\304#\204 \303\305#\203 \306\302\"\210A\266\202\202 \210\307\211\203C \211@\310\311\"\203<