| 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\"\210\300\303\302\"\210\304\305\306\307\310\311\312\313\312\314& \210\315\316\317\320\321DD\322\323\324%\210\315\325\317\320\326DD\327\323\324%\210\315\330\317\320\331DD\332\323\324%\210\315\333\317\320\334DD\335\323\324%\210\315\336\317\320\337DD\340\323\341\342\343&\210\315\344\317\320\345DD\346\310\347\323\350&\210\315\351\317\320\352DD\353\310\347\323\324&\210\315\354\317\320\355DD\356\310\347\323\357&\207" [autoload vc-find-revision "vc" vc-find-revision-no-save custom-declare-group diff-mode nil "Major mode for viewing/editing diffs." :version "21.1" :group tools diff custom-declare-variable diff-default-read-only funcall function #[0 "\300\207" [nil] 1 #1=""] "If non-nil, `diff-mode' buffers default to being read-only." :type boolean diff-jump-to-old-file #[0 "\300\207" [nil] 1 #1#] "Non-nil means `diff-goto-source' jumps to the old file.\nElse, it jumps to the new file." diff-update-on-the-fly #[0 "\300\207" [t] 1 #1#] "Non-nil means hunk headers are kept up-to-date on-the-fly.\nWhen editing a diff file, the line numbers in the hunk headers\nneed to be kept consistent with the actual diff. This can\neither be done on the fly (but this sometimes interacts poorly with the\nundo mechanism) or whenever the file is written (can be slow\nwhen editing big diffs).\n\nIf this variable is nil, the hunk header numbers are updated when\nthe file is written instead." diff-advance-after-apply-hunk #[0 "\300\207" [t] 1 #1#] "Non-nil means `diff-apply-hunk' will move to the next hunk after applying." diff-mode-hook #[0 "\300\207" [nil] 1 #1#] "Run after setting up the `diff-mode' major mode." hook :options (diff-delete-empty-files diff-make-unified) diff-refine #[0 "\300\207" [font-lock] 1 #1#] "If non-nil, enable hunk refinement.\n\nThe value `font-lock' means to refine during font-lock.\nThe value `navigation' means to refine each hunk as you visit it\nwith `diff-hunk-next' or `diff-hunk-prev'.\n\nYou can always manually refine a hunk with `diff-refine-hunk'." "27.1" (choice (const :tag "Don't refine hunks" nil) (const :tag "Refine hunks during font-lock" font-lock) (const :tag "Refine hunks during navigation" navigation)) diff-font-lock-prettify #[0 "\300\207" [nil] 1 #1#] "If non-nil, font-lock will try and make the format prettier.\n\nThis mimics the Magit's diff format by making the hunk header\nless cryptic, and on GUI frames also displays insertion and\ndeletion indicators on the left fringe (if it's available)." diff-font-lock-syntax #[0 "\300\207" [t] 1 #1#] "If non-nil, diff hunk font-lock includes source language syntax highlighting.\nThis highlighting is the same as added by `font-lock-mode'\nwhen corresponding source files are visited normally.\nSyntax highlighting is added over diff-mode's own highlighted changes.\n\nIf t, the default, highlight syntax only in Diff buffers created by Diff\ncommands that compare files or by VC commands that compare revisions.\nThese provide all necessary context for reliable highlighting. This value\nrequires support from a VC backend to find the files being compared.\nFor diffs against the working-tree version of a file, the highlighting is\nbased on the current file contents. File-based fontification tries to\ninfer fontification from the compared files.\n\nIf `hunk-only' fontification is based on hunk alone, without full source.\nIt tries to highlight hunks without enough context that sometimes might result\nin wrong fontification. This is the fastest option, but less reliable.\n\nIf `hunk-also', use reliable file-based syntax highlighting when available\nand hunk-based syntax highlighting otherwise as a fallback." (choice (const :tag "Don't highlight syntax" nil) (const :tag "Hunk-based only" hunk-only) (const :tag "Highlight syntax" t) (const :tag "Allow hunk-based fallback" hunk-also))] 10)
#@62 The VC backend that created the current Diff buffer, if any.
(defvar diff-vc-backend nil (#$ . 3923))
#@63 The VC revisions compared in the current Diff buffer, if any.
(defvar diff-vc-revisions nil (#$ . 4031))
#@66 The default directory where the current Diff buffer was created.
(defvar diff-default-directory nil (#$ . 4142))
(make-variable-buffer-local 'diff-default-directory)
(defvar diff-outline-regexp "\\([*+][*+][*+] [^0-9]\\|@@ ...\\|\\*\\*\\* [0-9].\\|--- [0-9]..\\)")
#@61 Basic keymap for `diff-mode', bound to various prefix keys.
(defconst diff-mode-shared-map (byte-code "\302\303\304\305\300!\205\n \306 D$\207" [diff-mode-shared-map special-mode-map easy-mmode-define-keymap (("n" . diff-hunk-next) ("N" . diff-file-next) ("p" . diff-hunk-prev) ("P" . diff-file-prev) (" " . diff-hunk-next) ([backtab] . diff-hunk-prev) ("k" . diff-hunk-kill) ("K" . diff-file-kill) ("}" . diff-file-next) ("{" . diff-file-prev) ("
" . diff-goto-source) ([mouse-2] . diff-goto-source) ("W" . widen) ("o" . diff-goto-source) ("A" . diff-ediff-patch) ("r" . diff-restrict-view) ("R" . diff-reverse-direction) ([remap undo] . diff-undo)) nil boundp :inherit] 6) (#$ . 4413))
#@59 Keymap for `diff-mode'. See also `diff-mode-shared-map'.
(defconst diff-mode-map (byte-code "\302\303\304 \305\"\210\306\211\203 \211@\307\310#\210A\266\202\202\n \210\211\262B\311B\310\312\301!\205, \310$\207" [diff-mode-shared-map diff-mode-map easy-mmode-define-keymap "" make-sparse-keymap set-keymap-parent ("A" "r" "R" "g" "q" "W" "z") define-key nil (("" . diff-goto-source) ("4A" . diff-add-change-log-entries-other-window) ("" . diff-apply-hunk) ("" . diff-ediff-patch) ("" . diff-restrict-view) ("" . diff-split-hunk) ("" . diff-test-hunk) ("" . diff-reverse-direction) ("" . diff-context->unified) ("" . diff-unified->context) ("" . diff-ignore-whitespace-hunk) ("\f" . diff-refresh-hunk) ("" . diff-refine-hunk) ("" . next-error-follow-minor-mode)) boundp] 9) (#$ . 5108))
#@23 Menu for `diff-mode'.
(defvar diff-mode-menu nil (#$ . 5935))
(byte-code "\301\302\303\304$\210\305\306\307\310\311DD\312\313\314%\207" [diff-mode-map easy-menu-do-define diff-mode-menu "Menu for `diff-mode'." ("Diff" ["Jump to Source" diff-goto-source :help "Jump to the corresponding source line"] ["Apply hunk" diff-apply-hunk :help "Apply the current hunk to the source file and go to the next"] ["Test applying hunk" diff-test-hunk :help "See whether it's possible to apply the current hunk"] ["Apply diff with Ediff" diff-ediff-patch :help "Call `ediff-patch-file' on the current buffer"] ["Create Change Log entries" diff-add-change-log-entries-other-window :help "Create ChangeLog entries for the changes in the diff buffer"] "-----" ["Reverse direction" diff-reverse-direction :help "Reverse the direction of the diffs"] ["Context -> Unified" diff-context->unified :help "Convert context diffs to unified diffs"] ["Unified -> Context" diff-unified->context :help "Convert unified diffs to context diffs"] ["Remove trailing whitespace" diff-delete-trailing-whitespace :help "Remove trailing whitespace problems introduced by the diff"] ["Show trailing whitespace" whitespace-mode :style toggle :selected (bound-and-true-p whitespace-mode) :help "Show trailing whitespace in modified lines"] "-----" ["Split hunk" diff-split-hunk :active (diff-splittable-p) :help "Split the current (unified diff) hunk at point into two hunks"] ["Ignore whitespace changes" diff-ignore-whitespace-hunk :help "Re-diff the current hunk, ignoring whitespace differences"] ["Recompute the hunk" diff-refresh-hunk :help "Re-diff the current hunk, keeping the whitespace differences"] ["Highlight fine changes" diff-refine-hunk :help "Highlight changes of hunk at point at a finer granularity"] ["Kill current hunk" diff-hunk-kill :help "Kill current hunk"] ["Kill current file's hunks" diff-file-kill :help "Kill all current file's hunks"] "-----" ["Previous Hunk" diff-hunk-prev :help "Go to the previous count'th hunk"] ["Next Hunk" diff-hunk-next :help "Go to the next count'th hunk"] ["Previous File" diff-file-prev :help "Go to the previous count'th file"] ["Next File" diff-file-next :help "Go to the next count'th file"]) custom-declare-variable diff-minor-mode-prefix funcall function #[0 "\300\207" ["="] 1 ""] "Prefix key for `diff-minor-mode' commands." :type (choice (string "") (string "C-c=") string)] 6)
#@65 Keymap for `diff-minor-mode'. See also `diff-mode-shared-map'.
(defconst diff-minor-mode-map (byte-code "\303 BC\304\305\302!\205
\n\304$\207" [diff-minor-mode-prefix diff-mode-shared-map diff-minor-mode-map easy-mmode-define-keymap nil boundp] 5) (#$ . 8349))
#@111 Non-nil if Diff-Auto-Refine mode is enabled.
Use the command `diff-auto-refine-mode' to change this variable.
(defvar diff-auto-refine-mode nil (#$ . 8620))
(make-variable-buffer-local 'diff-auto-refine-mode)
#@896 Toggle automatic diff hunk finer highlighting (Diff Auto Refine mode).
This is a minor mode. If called interactively, toggle the
`Diff-Auto-Refine mode' mode. If the prefix argument is positive,
enable the mode, and if it is zero or negative, disable the mode.
If called from Lisp, toggle the mode if ARG is `toggle'. Enable the
mode if ARG is nil, omitted, or is a positive number. Disable the
mode if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate `diff-auto-refine-mode'.
The mode's hook is called both when the mode is enabled and when it is
disabled.
Diff Auto Refine mode is a buffer-local minor mode used with
`diff-mode'. When enabled, Emacs automatically highlights
changes in detail as the user visits hunks. When transitioning
from disabled to enabled, it tries to refine the current hunk, as
well.
(fn &optional ARG)
(defalias 'diff-auto-refine-mode #[256 "\302 \303=\203
?\202 \247\203 \304W\203 \305\202 \306\307\301!\2031 \310\300 \"\2031 \300 B\203I \311\312\313\"\210\3141E \315 0\210\202N \210\202N \311\312\305\"\210\316\317\203X \320\202Y \321\"\210\322\323!\203{ \302 \203m \211\302 \232\203{ \324\325\203w \326\202x \327\330#\210\210\331 \210\207" [diff-auto-refine-mode local-minor-modes current-message toggle 1 nil t boundp delq customize-set-variable diff-refine navigation (debug error) diff-refine-hunk run-hooks diff-auto-refine-mode-hook diff-auto-refine-mode-on-hook diff-auto-refine-mode-off-hook called-interactively-p any message "Diff-Auto-Refine mode %sabled%s" "en" "dis" " in current buffer" force-mode-line-update] 6 (#$ . 8836) (byte-code "\203\n \301!\202 \302C\207" [current-prefix-arg prefix-numeric-value toggle] 2)])
(defvar diff-auto-refine-mode-hook nil)
(byte-code "\301\302N\204\f \303\301\302\304#\210\303\301\305\306#\210\303\301\307\310C#\210\311\312\310\313\300!\205# \310\211%\210\314\312\315\316#\210\317\312\315\316#\210\320\321\322\323#\210\320\324\325\326#\210\320\327\330\331#\210\320\332\333\334#\210\320\335\336\337#\210\320\340\341\342#\210\320\343\344\345\346\347%\210\320\350\351\345\346\352%\210\320\353\354\355\346\356%\207" [diff-auto-refine-mode-map diff-auto-refine-mode-hook variable-documentation put "Hook run after entering or leaving `diff-auto-refine-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" custom-type hook standard-value nil add-minor-mode diff-auto-refine-mode boundp make-obsolete "set `diff-refine' instead." "27.1" make-obsolete-variable custom-declare-face diff-header ((((class color) (min-colors 88) (background light)) :background "grey85" :extend t) (((class color) (min-colors 88) (background dark)) :background "grey45" :extend t) (((class color)) :foreground "blue1" :weight bold :extend t) (t :weight bold :extend t)) "`diff-mode' face inherited by hunk and index header faces." diff-file-header ((((class color) (min-colors 88) (background light)) :background "grey75" :weight bold :extend t) (((class color) (min-colors 88) (background dark)) :background "grey60" :weight bold :extend t) (((class color)) :foreground "cyan" :weight bold :extend t) (t :weight bold :extend t)) "`diff-mode' face used to highlight file header lines." diff-index ((t :inherit diff-file-header)) "`diff-mode' face used to highlight index header lines." diff-hunk-header ((t :inherit diff-header)) "`diff-mode' face used to highlight hunk header lines." diff-removed ((default :inherit diff-changed) (((class color) (min-colors 257) (background light)) :background "#ffeeee" :extend t) (((class color) (min-colors 88) (background light)) :background "#ffdddd" :extend t) (((class color) (min-colors 88) (background dark)) :background "#553333" :extend t) (((class color)) :foreground "red" :extend t)) "`diff-mode' face used to highlight removed lines." diff-added ((default :inherit diff-changed) (((class color) (min-colors 257) (background light)) :background "#eeffee" :extend t) (((class color) (min-colors 88) (background light)) :background "#ddffdd" :extend t) (((class color) (min-colors 88) (background dark)) :background "#335533" :extend t) (((class color)) :foreground "green" :extend t)) "`diff-mode' face used to highlight added lines." diff-changed-unspecified ((default :inherit diff-changed) (((class color) (min-colors 88) (background light)) :background "grey90" :extend t) (((class color) (min-colors 88) (background dark)) :background "grey20" :extend t) (((class color)) :foreground "grey" :extend t)) "`diff-mode' face used to highlight changed lines." :version "28.1" diff-changed ((t nil)) "25.1" diff-indicator-removed ((default :inherit diff-removed) (((class color) (min-colors 88)) :foreground "#aa2222")) "`diff-mode' face used to highlight indicator of removed lines (-, <)." "22.1"] 6)
(defvar diff-indicator-removed-face 'diff-indicator-removed)
(custom-declare-face 'diff-indicator-added '((default :inherit diff-added) (((class color) (min-colors 88)) :foreground "#22aa22")) "`diff-mode' face used to highlight indicator of added lines (+, >)." :version "22.1")
(defvar diff-indicator-added-face 'diff-indicator-added)
(custom-declare-face 'diff-indicator-changed '((default :inherit diff-changed) (((class color) (min-colors 88)) :foreground "#aaaa22")) "`diff-mode' face used to highlight indicator of changed lines." :version "22.1")
(defvar diff-indicator-changed-face 'diff-indicator-changed)
(byte-code "\300\301\302\303#\210\300\304\305\306\307\310%\210\300\311\312\313#\210\300\314\315\316\307\317%\207" [custom-declare-face diff-function ((t :inherit diff-header)) "`diff-mode' face used to highlight function names produced by \"diff -p\"." diff-context ((t :extend t)) "`diff-mode' face used to highlight context and other side-information." :version "27.1" diff-nonexistent ((t :inherit diff-file-header)) "`diff-mode' face used to highlight nonexistent files in recursive diffs." diff-error ((((class color)) :foreground "red" :background "black" :weight bold) (t :weight bold)) "`diff-mode' face for error messages from diff." "28.1"] 6)
(defconst diff-yank-handler '(diff-yank-function))
#@13
(fn TEXT)
(defalias 'diff-yank-function #[257 "\300\301\302#`c\210\206 \303\304!?\205F \305 \210\212\306\307\310#\203/ \311f\312=\203+ \313\2020 \314\2020 \315)\212\306\310#\205C \316\317\310\211#\210\2022 )\262\207" [next-single-property-change 0 yank-handler derived-mode-p diff-mode undo-boundary re-search-backward "^[><!][ ]" t nil 33 "^[!+- ][ ]" "^[<>][ ]" "^[ <>!+-]" replace-match ""] 8 (#$ . 15034)])
(defconst diff-hunk-header-re-unified "^@@ -\\([0-9]+\\)\\(?:,\\([0-9]+\\)\\)? \\+\\([0-9]+\\)\\(?:,\\([0-9]+\\)\\)? @@")
(defconst diff-context-mid-hunk-header-re "--- \\([0-9]+\\)\\(?:,\\([0-9]+\\)\\)? ----$")
#@215 Controls how changed lines are fontified in context diffs.
If non-nil, use the face `diff-changed-unspecified'. Otherwise,
use the face `diff-removed' for removed lines, and the face
`diff-added' for added lines.
(defvar diff-use-changed-face (byte-code "\300\301!\205 \302\301\303\"?\205 \302\301\304\"?\207" [face-differs-from-default-p diff-changed face-equal diff-added diff-removed] 3) (#$ . 15677))
(defvar diff-font-lock-keywords (byte-code "\302\303Q\304B\305\306 \307B\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326C\327C\330C\257\207" [diff-hunk-header-re-unified diff-context-mid-hunk-header-re "\\(" "\\)\\(.*\\)$" ((1 'diff-hunk-header) (6 'diff-function)) ("^\\(\\*\\{15\\}\\)\\(.*\\)$" (1 'diff-hunk-header) (2 'diff-function)) ("^\\*\\*\\* .+ \\*\\*\\*\\*" quote diff-hunk-header) 'diff-hunk-header ("^[0-9,]+[acd][0-9,]+$" quote diff-hunk-header) ("^---$" quote diff-hunk-header) ("^\\(---\\|\\+\\+\\+\\|\\*\\*\\*\\) \\([^ \n]+?\\)\\(?: .*\\| \\(\\*\\*\\*\\*\\|----\\)\\)?\n" (0 'diff-header) (2 (if (not (match-end 3)) 'diff-file-header) prepend)) ("^\\([-<]\\)\\(.*\n\\)" (1 diff-indicator-removed-face) (2 'diff-removed)) ("^\\([+>]\\)\\(.*\n\\)" (1 diff-indicator-added-face) (2 'diff-added)) ("^\\(!\\)\\(.*\n\\)" (1 (if diff-use-changed-face diff-indicator-changed-face (save-match-data (let ((limit (save-excursion (diff-beginning-of-hunk)))) (if (save-excursion (re-search-backward diff-context-mid-hunk-header-re limit t)) diff-indicator-added-face diff-indicator-removed-face))))) (2 (if diff-use-changed-face 'diff-changed-unspecified (save-match-data (let ((limit (save-excursion (diff-beginning-of-hunk)))) (if (save-excursion (re-search-backward diff-context-mid-hunk-header-re limit t)) 'diff-added 'diff-removed)))))) ("^\\(?:Index\\|revno\\): \\(.+\\).*\n" (0 'diff-header) (1 'diff-index prepend)) ("^\\(?:index .*\\.\\.\\|diff \\).*\n" quote diff-header) ("^\\(?:new\\|deleted\\) file mode .*\n" quote diff-header) ("^Only in .*\n" quote diff-nonexistent) ("^Binary files .* differ\n" quote diff-file-header) ("^\\(#\\)\\(.*\\)" (1 font-lock-comment-delimiter-face) (2 font-lock-comment-face)) ("^diff: .*" (0 'diff-error)) ("^[^-=+*!<>#].*\n" (0 'diff-context)) diff--font-lock-syntax diff--font-lock-prettify diff--font-lock-refined] 21))
(defconst diff-font-lock-defaults '(diff-font-lock-keywords t nil nil nil (font-lock-multiline)))
(defvar diff-imenu-generic-expression '((nil "\\+\\+\\+ \\([^ \n]+\\)[ \n]" 1) (nil "^--- \\([^ \n]+\\) .*\n\\*" 1)))
#@259 If non-nil, empty lines are valid in unified diffs.
Some versions of diff replace all-blank context lines in unified format with
empty lines. This makes the format less robust, but is tolerated.
See https://lists.gnu.org/r/emacs-devel/2007-11/msg01990.html
(defvar diff-valid-unified-empty-line t (#$ . 18195))
(defconst diff-hunk-header-re (concat "^\\(?:" diff-hunk-header-re-unified ".*\\|\\*\\{15\\}.*\n\\*\\*\\* .+ \\*\\*\\*\\*\\|[0-9]+\\(,[0-9]+\\)?[acd][0-9]+\\(,[0-9]+\\)?\\)$"))
(defconst diff-file-header-re (byte-code "\301\302\303OP\207" [diff-hunk-header-re "^\\(--- .+\n\\+\\+\\+ \\|\\*\\*\\* .+\n--- \\|[^-+!<>0-9@* \n]\\).+\n" 1 nil] 4))
(defconst diff-separator-re "^--+ ?$")
(defvar diff-narrowed-to nil)
(defvar diff-buffer-type nil)
#@24
(fn &optional STYLE)
(defalias 'diff-hunk-style #[256 "\301!\203 \302f\303\236A\262\304\225b\210\207" [diff-hunk-header-re looking-at nil ((64 . unified) (42 . context)) 0] 3 (#$ . 18956)])
#@68 Return previous line if it has patch separator as produced by git.
(defalias 'diff-prev-line-if-patch-separator #[0 "\301=\203 \212`\302y\210\303\304!\203 `\202 \211\262)\207`\207" [diff-buffer-type git -1 looking-at "^-- $"] 3 (#$ . 19157)])
#@104 Advance to the end of the current hunk, and return its position.
(fn &optional STYLE DONTTRUSTHEADER)
(defalias 'diff-end-of-hunk #[512 "\303\304!\203l \305!\262\306\225b\210\204l \307\225\203l \310\311\307!\206! \312!\310\311\313!\206* \312!\212\314 \2035 \315\2026 \316\303\317$\210\320\304\321!\203F \322\202G \307!)\212\314 \203S \323\202T \324\303\317$\210\320\304\321!\203d \322\202e \307!)]\266\205\211\204\305 \314\325\267\202\225 \203 \326\202\200 \327\nP\202\226 \203\215 \330\202\226 \331\202\226 \332\202\226 \333\303\317#\205\236 \306\224\262 \203\301 \211\206\251 db\210`S\206\261 `Sf\334=\203\301 \335u\210`\262\202\253 \336 \262\211\206\312 db\207" [diff-hunk-header-re diff-valid-unified-empty-line diff-file-header-re nil looking-at diff-hunk-style 0 2 string-to-number match-string "1" 4 re-search-forward "^[- \n]" "^[- ]" t line-beginning-position ".*\n\\\\" 3 "^[+ \n]" "^[+ ]" #s(hash-table size 3 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (unified 119 context 133 normal 145)) "^[^-+# \\\n]\\|" "^[^-+# \\]\\|" "^[^-+#! \n\\]" "^[^-+#! \\]" "^[^<>#\\]" "^[^-+#!<> \\]" 10 -1 diff-prev-line-if-patch-separator] 11 (#$ . 19412)])
(defconst diff-file-junk-re "Index: \\|Prereq: \\|=\\{20,\\}\\|diff \\|index \\|\\(?:deleted file\\|new\\(?: file\\)?\\|old\\) mode\\|=== modified file")
#@50 Return non-nil if point is inside a diff header.
(defalias 'diff--at-diff-header-p #[0 " \n`\3032Y \212\304y\210\305!\203 \306\303`\"\210\307y\210\310\311\312!\313#\203, \304y\210\306\303`\"\210\211b\210\304y\210\305!\203V \305!\203H o\204H \307y\210\2028 \310\314\313#\210\304y\210\306\303`\"\210)\3140\207" [diff-hunk-header-re diff-file-header-re diff-file-junk-re headerp 0 looking-at throw -1 re-search-forward point-at-eol 4 t nil] 8 (#$ . 20762)])
#@222 Move back to the previous hunk beginning, and return its position.
If point is in a file header rather than a hunk, advance to the
next hunk if TRY-HARDER is non-nil; otherwise signal an error.
(fn &optional TRY-HARDER)
(defalias 'diff-beginning-of-hunk #[256 "\301 \210\302!\203 `\207\303 \203 \203 b\207\304\305!\207\306\307\310#\2065 \311\307\310#\2032 \312y\210`\207\304\305!\207" [diff-hunk-header-re beginning-of-line looking-at diff--at-diff-header-p error "Can't find the beginning of the hunk" re-search-backward nil t re-search-forward 0] 7 (#$ . 21231)])
(defalias 'diff-unified-hunk-p #[0 "\212\3001 \301 \210\302\303!0\202 \210\304)\207" [(error) diff-beginning-of-hunk looking-at "^@@" nil] 2])
(defalias 'diff-beginning-of-file #[0 "\301 \210\302!?\2054 `\303\304y\210\305\303\306#\211\262\203, `X\204+ \305\303\306#\211\262\203, \207b\210\307\310!\266\202\207" [diff-file-header-re beginning-of-line looking-at nil 3 re-search-backward t error "Can't find the beginning of the file"] 6])
(defalias 'diff-end-of-file #[0 "\301\302\303\304#\210\301\305P\303\306#\210\307\224\203 \307\224b\207\310 \207" [diff-file-header-re re-search-forward "^[-+#!<>0-9@* \\]" nil t "^[^-+#!<>0-9@* \\]\\|" move 1 beginning-of-line] 4])
(defvar diff--auto-refine-data nil)
#@125 Go to the next COUNT'th hunk.
Interactively, COUNT is the prefix numeric argument, and defaults to 1.
(fn &optional COUNT)
(defalias 'diff-hunk-next #[256 "\211\204 \303\262\211\304W\203 \305[!\207\306!\203 \211T\262deZ\307 U?~\210\310\311\312$\204G \306!\203? \313 \206: db\210\202| \314\315\316\"\210\202| \304\224b\210p\317 =\203| \320\321!\203| \212\313 )\206` d\322\311\312#\204{ \323 \324\325!\210\323 W\203z \326\311\"\210\210\210\211\203\203 \327 \210\210 \330=\205\237 \320\321!\205\237 \np\331 B?\205\237 \332\333\311\334#\207" [diff-hunk-header-re diff-refine diff--auto-refine-data 1 0 diff-hunk-prev looking-at buffer-size re-search-forward nil t diff-end-of-hunk user-error "No next %s" "hunk" window-buffer called-interactively-p interactive pos-visible-in-window-p window-start recenter (0) set-window-start diff-restrict-view navigation point-marker run-at-time 0.0 #[0 "\205, @A\303\3041$ \303\305!\205! rq\210\212\211b\210\306 *)0\207\210\307\310\311!\266\202\207" [diff--auto-refine-data inhibit-quit quit-flag nil (quit) buffer-live-p diff-refine-hunk t eval (ignore nil)] 4]] 7 (#$ . 22532) "p"])
(put 'diff-hunk-next 'definition-name 'diff-hunk)
#@129 Go to the previous COUNT'th hunk.
Interactively, COUNT is the prefix numeric argument, and defaults to 1.
(fn &optional COUNT)
(defalias 'diff-hunk-prev #[256 "\211\204 \303\262\211\304W\203 \305[!\207deZ\306 U?~\210\307\310\311$\204) \312\313\314\"\210\211\2030 \315 \210\210 \316=\205L \317\320!\205L \np\321 B?\205L \322\323\310\324#\207" [diff-hunk-header-re diff-refine diff--auto-refine-data 1 0 diff-hunk-next buffer-size re-search-backward nil t user-error "No previous %s" "hunk" diff-restrict-view navigation called-interactively-p interactive point-marker run-at-time 0.0 #[0 "\205, @A\303\3041$ \303\305!\205! rq\210\212\211b\210\306 *)0\207\210\307\310\311!\266\202\207" [diff--auto-refine-data inhibit-quit quit-flag nil (quit) buffer-live-p diff-refine-hunk t eval (ignore nil)] 4]] 7 (#$ . 23731) "p"])
(put 'diff-hunk-prev 'definition-name 'diff-hunk)
#@125 Go to the next COUNT'th file.
Interactively, COUNT is the prefix numeric argument, and defaults to 1.
(fn &optional COUNT)
(defalias 'diff-file-next #[256 "\211\204 \301\262\211\302W\203 \303[!\207\304!\203 \211T\262\305\306\307$\2048 \304!\2033 \310 \2061 db\207\311\312\313\"\207\302\224b\210p\314 =\205o \315\316!\205o \212\310 )\206Q d\317\306\307#?\205m \320 \321\322!\210\320 W\205k \323\306\"\262\262\207" [diff-file-header-re 1 0 diff-file-prev looking-at re-search-forward nil t diff-end-of-file user-error "No next %s" "file" window-buffer called-interactively-p interactive pos-visible-in-window-p window-start recenter (0) set-window-start] 6 (#$ . 24623) "p"])
(put 'diff-file-next 'definition-name 'diff-file)
#@129 Go to the previous COUNT'th file.
Interactively, COUNT is the prefix numeric argument, and defaults to 1.
(fn &optional COUNT)
(defalias 'diff-file-prev #[256 "\211\204 \301\262\211\302W\203 \303[!\207\304\305\306$?\205 \307\310\311\"\207" [diff-file-header-re 1 0 diff-file-next re-search-backward nil t user-error "No previous %s" "file"] 6 (#$ . 25370) "p"])
(put 'diff-file-prev 'definition-name 'diff-file)
#@235 Return the bounds of the diff hunk at point.
The return value is a list (BEG END), which are the hunk's start
and end positions. Signal an error if no hunk is found. If
point is in a file header, return the bounds of the next hunk.
(defalias 'diff-bounds-of-hunk #[0 "\212`\301\302!\303 \211Y\203 D\202&