;ELC
|
;;; Compiled
|
;;; in Emacs version 26.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 'diff-hl)
|
#@105 Non-nil if Diff-Hl-Amend mode is enabled.
|
Use the command `diff-hl-amend-mode' to change this variable.
|
(defvar diff-hl-amend-mode nil (#$ . 428))
|
(make-variable-buffer-local 'diff-hl-amend-mode)
|
#@235 Show changes against the second-last revision in `diff-hl-mode'.
|
Most useful with backends that support rewriting local commits,
|
and most importantly, 'amending' the most recent one.
|
Currently only supports Git, Mercurial and Bazaar.
|
(defalias 'diff-hl-amend-mode #[(&optional arg) "\306 \307=\203 \n?\202 \310 !\311V\211\203% \312 \210\313\314\312\315\316$\210\2021 \317\314\312\316#\210\320\303!\210\315\f\2038 \321 \210\322\323\n\203B \324\202C \325\"\210\326\327!\203h \306 \203W \306 \232\203h \330\331\332\n\203c \333\202d \334 #\210))\335 \210\n\207" [#1=#:last-message arg diff-hl-amend-mode diff-hl-reference-revision diff-hl-mode local current-message toggle prefix-numeric-value 0 diff-hl-amend-setup add-hook after-revert-hook nil t remove-hook make-local-variable diff-hl-update run-hooks diff-hl-amend-mode-hook diff-hl-amend-mode-on-hook diff-hl-amend-mode-off-hook called-interactively-p any " in current buffer" message "Diff-Hl-Amend mode %sabled%s" "en" "dis" force-mode-line-update] 6 (#$ . 631) (list (or current-prefix-arg 'toggle))])
|
(defvar diff-hl-amend-mode-hook nil)
|
(byte-code "\301\302N\204\f \303\301\302\304#\210\305\306\307\310\300!\205 \311\211%\207" [diff-hl-amend-mode-map diff-hl-amend-mode-hook variable-documentation put "Hook run after entering or leaving `diff-hl-amend-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" add-minor-mode diff-hl-amend-mode " Amend" boundp nil] 6)
|
(defalias 'diff-hl-amend-setup #[nil "\303!\211\205! \304\302!\210 \305\267\202 \306\202 \307\202 \310\202 \311\211)\207" [buffer-file-name backend diff-hl-reference-revision vc-backend make-local-variable #s(hash-table size 3 test eql rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (Git 18 Hg 22 Bzr 26)) "HEAD^" "-2" "revno:-2" nil] 3])
|
(defvar diff-hl-amend-mode-major-mode nil)
|
(byte-code "\300\301!\210\302\303\304\305\306\307\310\311\312\313\314\315&\207" [make-variable-buffer-local diff-hl-amend-mode-major-mode custom-declare-variable global-diff-hl-amend-mode nil "Non-nil if Global Diff-Hl-Amend mode is enabled.\nSee the `global-diff-hl-amend-mode' command\nfor a description of this minor mode.\nSetting this variable directly does not take effect;\neither customize it (see the info node `Easy Customization')\nor call the function `global-diff-hl-amend-mode'." :set custom-set-minor-mode :initialize custom-initialize-default :group diff-hl-amend :type boolean] 12)
|
#@363 Toggle Diff-Hl-Amend mode in all buffers.
|
With prefix ARG, enable Global Diff-Hl-Amend mode if ARG is positive;
|
otherwise, disable it. If called from Lisp, enable the mode if
|
ARG is omitted or nil.
|
|
Diff-Hl-Amend mode is enabled in all buffers where
|
`turn-on-diff-hl-amend-mode' would do it.
|
See `diff-hl-amend-mode' for more information on Diff-Hl-Amend mode.
|
(defalias 'global-diff-hl-amend-mode #[(&optional arg) "\306 \307\302 \310=\203 \311\302!?\202 \312 !\313V\"\210\n\203/ \314\315\316\"\210\314\317\320\"\210\314\321\322\"\210\202> |