| Server IP : 217.160.0.212 / Your IP : 216.73.217.75 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/vc/ |
Upload File : |
;ELC ;;; Compiled ;;; in Emacs version 28.2 ;;; with all optimizations. (byte-code "\300\301\302\303\304\305%\210\306\307\310\311\312DD\313\314\315%\210\306\316\310\311\317DD\320\314\321%\207" [custom-declare-group diff nil "Comparing files with `diff'." :group tools custom-declare-variable diff-switches funcall function #[0 "\300\301!\207" [purecopy "-u"] 2 #1=""] "A string or list of strings specifying switches to be passed to diff.\n\nThis variable is also used in the `vc-diff' command (and related\ncommands) if the backend-specific diff switch variable isn't\nset (`vc-git-diff-switches' for git, for instance), and\n`vc-diff-switches' isn't set." :type (choice string (repeat string)) diff-command #[0 "\300\301!\207" [purecopy "diff"] 2 #1#] "The command to use to run diff." string] 6) (defalias 'diff-switches #[0 "\205 \302\303 ;\203 \202 \304\305 \306#\"\207" [current-prefix-arg diff-switches read-string "Diff switches: " mapconcat identity " "] 6]) #@273 Code run when the diff process exits. CODE is the exit code of the process. It should be 0 only if no diffs were found. If optional args OLD-TEMP-FILE and/or NEW-TEMP-FILE are non-nil, delete the temporary files so named. (fn CODE &optional OLD-TEMP-FILE NEW-TEMP-FILE) (defalias 'diff-sentinel #[769 "\203 \301!\210\211\203 \301!\210\302 \210eb\210\212db\210\303\304\305\306\267\202, \307\202- \310\202- \311\312 #c*\207" [inhibit-read-only delete-file diff-setup-whitespace t format "\nDiff finished%s. %s\n" #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (0 36 2 40)) " (no differences)" " (diff error)" "" current-time-string] 7 (#$ . 986)]) #@606 Find and display the differences between OLD and NEW files. When called interactively, read NEW, then OLD, using the minibuffer. The default for NEW is the current buffer's file name, and the default for OLD is a backup file for NEW, if one exists. If NO-ASYNC is non-nil, call diff synchronously. When called interactively with a prefix argument SWITCHES, prompt interactively for diff switches. Otherwise, the switches specified in the variable `diff-switches' are passed to the diff command. Non-interactively, OLD and NEW may each be a file or a buffer. (fn OLD NEW &optional SWITCHES NO-ASYNC) (defalias 'diff #[1026 "\300\301$!\207" [display-buffer diff-no-select] 10 (#$ . 1687) (byte-code "\203 \301!\203 \302\303\304!\305Q\306\307$\202 \302\310\306\211\307$\311!\211\203; \301!\203; \302\312\304!\305Q\313!\307$\202C \302\314\313!\306\307$\262\211\315 E\207" [buffer-file-name file-exists-p read-file-name "Diff new file (default " file-name-nondirectory "): " nil t "Diff new file: " file-newest-backup "Diff original file (default " file-name-directory "Diff original file: " diff-switches] 7)]) #@190 Like `file-local-copy' but also supports a buffer as the argument. When FILE-OR-BUF is a buffer, return the filename of a local temporary file with the buffer's contents. (fn FILE-OR-BUF) (defalias 'diff-file-local-copy #[257 "\300!\203 r\211q\210\301\302!\303\304\211\304\305%\210\211\262)\207\306!\207" [bufferp make-temp-file "buffer-content-" write-region nil nomessage file-local-copy] 8 (#$ . 2826)]) #@170 Whether `diff-command' understands the "--label" option. Possible values are: t -- yes, it does nil -- no, it does not check -- try to probe whether it does (defvar diff-use-labels 'check (#$ . 3246)) #@24 (fn &optional FORCE) (defalias 'diff-check-labels #[256 "\211\204\f \302=\204\f \207\303\304\305\"r\211q\210\306\307\"\216\3101( \311 \312\305\312\313%0\202- \210\312\2029 \2059 \314\315\312\305#\2059 \305*\262\211\207" [diff-use-labels diff-command check generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] (error) call-process nil "--help" search-backward "--label"] 8 (#$ . 3465)]) #@483 Compare the OLD and NEW file/buffer. If the optional SWITCHES is nil, the switches specified in the variable ‘diff-switches’ are passed to the diff command, otherwise SWITCHES is used. SWITCHES can be a string or a list of strings. If NO-ASYNC is non-nil, call diff synchronously. By default, this function creates the diff in the "*Diff*" buffer. If BUF is non-nil, BUF is used instead. This function returns the buffer used. (fn OLD NEW &optional SWITCHES NO-ASYNC BUF) (defalias 'diff-no-select #[1282 "CCC\306\242!\204 \307\242!\240\210\306\242!\204\"