add autoloads
This commit is contained in:
349
lisp/diff-hl/diff-hl-autoloads.el
Normal file
349
lisp/diff-hl/diff-hl-autoloads.el
Normal file
@@ -0,0 +1,349 @@
|
||||
;;; diff-hl-autoloads.el --- automatically extracted autoloads (do not edit) -*- lexical-binding: t -*-
|
||||
;; Generated by the `loaddefs-generate' function.
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
;;; Code:
|
||||
|
||||
(add-to-list 'load-path (or (and load-file-name (directory-file-name (file-name-directory load-file-name))) (car load-path)))
|
||||
|
||||
|
||||
|
||||
;;; Generated autoloads from diff-hl.el
|
||||
|
||||
(autoload 'diff-hl-mode "diff-hl" "\
|
||||
Toggle VC diff highlighting.
|
||||
|
||||
This is a minor mode. If called interactively, toggle the `Diff-Hl
|
||||
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 the variable `diff-hl-mode'.
|
||||
|
||||
The mode's hook is called both when the mode is enabled and when it is
|
||||
disabled.
|
||||
|
||||
\\{diff-hl-mode-map}
|
||||
|
||||
(fn &optional ARG)" t)
|
||||
(autoload 'turn-on-diff-hl-mode "diff-hl" "\
|
||||
Turn on `diff-hl-mode' or `diff-hl-dir-mode' in a buffer if appropriate.")
|
||||
(autoload 'diff-hl--global-turn-on "diff-hl" "\
|
||||
Call `turn-on-diff-hl-mode' if the current major mode is applicable.")
|
||||
(autoload 'diff-hl-set-reference-rev "diff-hl" "\
|
||||
Set the reference revision globally to REV.
|
||||
When called interactively, REV read with completion.
|
||||
|
||||
The default value chosen using one of methods below:
|
||||
|
||||
- In a log view buffer, it uses the revision of current entry.
|
||||
Call `vc-print-log' or `vc-print-root-log' first to open a log
|
||||
view buffer.
|
||||
- In a VC annotate buffer, it uses the revision of current line.
|
||||
- In other situations, it uses the symbol at point.
|
||||
|
||||
Notice that this sets the reference revision globally, so in
|
||||
files from other repositories, `diff-hl-mode' will not highlight
|
||||
changes correctly, until you run `diff-hl-reset-reference-rev'.
|
||||
|
||||
Also notice that this will disable `diff-hl-amend-mode' in
|
||||
buffers that enables it, since `diff-hl-amend-mode' overrides its
|
||||
effect.
|
||||
|
||||
(fn REV)" t)
|
||||
(autoload 'diff-hl-reset-reference-rev "diff-hl" "\
|
||||
Reset the reference revision globally to the most recent one." t)
|
||||
(put 'global-diff-hl-mode 'globalized-minor-mode t)
|
||||
(defvar global-diff-hl-mode nil "\
|
||||
Non-nil if Global Diff-Hl mode is enabled.
|
||||
See the `global-diff-hl-mode' command
|
||||
for a description of this minor mode.
|
||||
Setting this variable directly does not take effect;
|
||||
either customize it (see the info node `Easy Customization')
|
||||
or call the function `global-diff-hl-mode'.")
|
||||
(custom-autoload 'global-diff-hl-mode "diff-hl" nil)
|
||||
(autoload 'global-diff-hl-mode "diff-hl" "\
|
||||
Toggle Diff-Hl mode in all buffers.
|
||||
With prefix ARG, enable Global Diff-Hl mode if ARG is positive;
|
||||
otherwise, disable it.
|
||||
|
||||
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.
|
||||
|
||||
Diff-Hl mode is enabled in all buffers where `diff-hl--global-turn-on'
|
||||
would do it.
|
||||
|
||||
See `diff-hl-mode' for more information on Diff-Hl mode.
|
||||
|
||||
(fn &optional ARG)" t)
|
||||
(register-definition-prefixes "diff-hl" '("diff-hl-"))
|
||||
|
||||
|
||||
;;; Generated autoloads from diff-hl-amend.el
|
||||
|
||||
(autoload 'diff-hl-amend-mode "diff-hl-amend" "\
|
||||
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.
|
||||
|
||||
This is a minor mode. If called interactively, toggle the
|
||||
`Diff-Hl-Amend 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 the variable `diff-hl-amend-mode'.
|
||||
|
||||
The mode's hook is called both when the mode is enabled and when it is
|
||||
disabled.
|
||||
|
||||
(fn &optional ARG)" t)
|
||||
(put 'global-diff-hl-amend-mode 'globalized-minor-mode t)
|
||||
(defvar global-diff-hl-amend-mode nil "\
|
||||
Non-nil if Global Diff-Hl-Amend mode is enabled.
|
||||
See the `global-diff-hl-amend-mode' command
|
||||
for a description of this minor mode.
|
||||
Setting this variable directly does not take effect;
|
||||
either customize it (see the info node `Easy Customization')
|
||||
or call the function `global-diff-hl-amend-mode'.")
|
||||
(custom-autoload 'global-diff-hl-amend-mode "diff-hl-amend" nil)
|
||||
(autoload 'global-diff-hl-amend-mode "diff-hl-amend" "\
|
||||
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, 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.
|
||||
|
||||
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.
|
||||
|
||||
(fn &optional ARG)" t)
|
||||
(register-definition-prefixes "diff-hl-amend" '("diff-hl-amend-setup" "turn-on-diff-hl-amend-mode"))
|
||||
|
||||
|
||||
;;; Generated autoloads from diff-hl-dired.el
|
||||
|
||||
(autoload 'diff-hl-dired-mode "diff-hl-dired" "\
|
||||
Toggle VC diff highlighting on the side of a Dired window.
|
||||
|
||||
This is a minor mode. If called interactively, toggle the
|
||||
`Diff-Hl-Dired 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 the variable `diff-hl-dired-mode'.
|
||||
|
||||
The mode's hook is called both when the mode is enabled and when it is
|
||||
disabled.
|
||||
|
||||
(fn &optional ARG)" t)
|
||||
(autoload 'diff-hl-dired-mode-unless-remote "diff-hl-dired")
|
||||
(register-definition-prefixes "diff-hl-dired" '("diff-hl-dired-"))
|
||||
|
||||
|
||||
;;; Generated autoloads from diff-hl-flydiff.el
|
||||
|
||||
(defvar diff-hl-flydiff-mode nil "\
|
||||
Non-nil if Diff-Hl-Flydiff mode is enabled.
|
||||
See the `diff-hl-flydiff-mode' command
|
||||
for a description of this minor mode.
|
||||
Setting this variable directly does not take effect;
|
||||
either customize it (see the info node `Easy Customization')
|
||||
or call the function `diff-hl-flydiff-mode'.")
|
||||
(custom-autoload 'diff-hl-flydiff-mode "diff-hl-flydiff" nil)
|
||||
(autoload 'diff-hl-flydiff-mode "diff-hl-flydiff" "\
|
||||
Perform highlighting on-the-fly.
|
||||
|
||||
This is a global minor mode. It alters how `diff-hl-mode' works.
|
||||
|
||||
This is a global minor mode. If called interactively, toggle the
|
||||
`Diff-Hl-Flydiff 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 `(default-value \\='diff-hl-flydiff-mode)'.
|
||||
|
||||
The mode's hook is called both when the mode is enabled and when it is
|
||||
disabled.
|
||||
|
||||
(fn &optional ARG)" t)
|
||||
(register-definition-prefixes "diff-hl-flydiff" '("diff-hl-flydiff"))
|
||||
|
||||
|
||||
;;; Generated autoloads from diff-hl-inline-popup.el
|
||||
|
||||
(autoload 'diff-hl-inline-popup-hide "diff-hl-inline-popup" "\
|
||||
Hide the current inline popup." t)
|
||||
(autoload 'diff-hl-inline-popup-show "diff-hl-inline-popup" "\
|
||||
Create a phantom overlay to show the inline popup, with some
|
||||
content LINES, and a HEADER and a FOOTER, at POINT. KEYMAP is
|
||||
added to the current keymaps. CLOSE-HOOK is called when the popup
|
||||
is closed.
|
||||
|
||||
(fn LINES &optional HEADER FOOTER KEYMAP CLOSE-HOOK POINT HEIGHT)")
|
||||
(register-definition-prefixes "diff-hl-inline-popup" '("diff-hl-inline-popup-"))
|
||||
|
||||
|
||||
;;; Generated autoloads from diff-hl-margin.el
|
||||
|
||||
(defvar diff-hl-margin-mode nil "\
|
||||
Non-nil if Diff-Hl-Margin mode is enabled.
|
||||
See the `diff-hl-margin-mode' command
|
||||
for a description of this minor mode.
|
||||
Setting this variable directly does not take effect;
|
||||
either customize it (see the info node `Easy Customization')
|
||||
or call the function `diff-hl-margin-mode'.")
|
||||
(custom-autoload 'diff-hl-margin-mode "diff-hl-margin" nil)
|
||||
(autoload 'diff-hl-margin-mode "diff-hl-margin" "\
|
||||
Toggle displaying `diff-hl-mode' highlights on the margin.
|
||||
|
||||
This is a global minor mode. If called interactively, toggle the
|
||||
`Diff-Hl-Margin 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 `(default-value \\='diff-hl-margin-mode)'.
|
||||
|
||||
The mode's hook is called both when the mode is enabled and when it is
|
||||
disabled.
|
||||
|
||||
(fn &optional ARG)" t)
|
||||
(autoload 'diff-hl-margin-local-mode "diff-hl-margin" "\
|
||||
Toggle displaying `diff-hl-mode' highlights on the margin locally.
|
||||
|
||||
You probably shouldn't use this function directly.
|
||||
|
||||
This is a minor mode. If called interactively, toggle the
|
||||
`Diff-Hl-Margin-Local 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 the variable `diff-hl-margin-local-mode'.
|
||||
|
||||
The mode's hook is called both when the mode is enabled and when it is
|
||||
disabled.
|
||||
|
||||
(fn &optional ARG)" t)
|
||||
(register-definition-prefixes "diff-hl-margin" '("diff-hl-"))
|
||||
|
||||
|
||||
;;; Generated autoloads from diff-hl-show-hunk.el
|
||||
|
||||
(autoload 'diff-hl-show-hunk-inline-popup "diff-hl-show-hunk" "\
|
||||
Implementation to show the hunk in a inline popup.
|
||||
BUFFER is a buffer with the hunk.
|
||||
|
||||
(fn BUFFER &optional IGNORED-LINE)")
|
||||
(autoload 'diff-hl-show-hunk-previous "diff-hl-show-hunk" "\
|
||||
Go to previous hunk/change and show it." t)
|
||||
(autoload 'diff-hl-show-hunk-next "diff-hl-show-hunk" "\
|
||||
Go to next hunk/change and show it." t)
|
||||
(autoload 'diff-hl-show-hunk "diff-hl-show-hunk" "\
|
||||
Show the VC diff hunk at point.
|
||||
The backend is determined by `diff-hl-show-hunk-function'." t)
|
||||
(autoload 'diff-hl-show-hunk-mouse-mode "diff-hl-show-hunk" "\
|
||||
Enable margin and fringe to show a posframe/popup with vc diffs when clicked.
|
||||
|
||||
By default, the popup shows only the current hunk, and
|
||||
the line of the hunk that matches the current position is
|
||||
highlighted. The face, border and other visual preferences are
|
||||
customizable. It can be also invoked with the command
|
||||
`diff-hl-show-hunk'
|
||||
\\{diff-hl-show-hunk-mouse-mode-map}
|
||||
|
||||
This is a minor mode. If called interactively, toggle the
|
||||
`Diff-Hl-Show-Hunk-Mouse 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 the variable `diff-hl-show-hunk-mouse-mode'.
|
||||
|
||||
The mode's hook is called both when the mode is enabled and when it is
|
||||
disabled.
|
||||
|
||||
(fn &optional ARG)" t)
|
||||
(put 'global-diff-hl-show-hunk-mouse-mode 'globalized-minor-mode t)
|
||||
(defvar global-diff-hl-show-hunk-mouse-mode nil "\
|
||||
Non-nil if Global Diff-Hl-Show-Hunk-Mouse mode is enabled.
|
||||
See the `global-diff-hl-show-hunk-mouse-mode' command
|
||||
for a description of this minor mode.
|
||||
Setting this variable directly does not take effect;
|
||||
either customize it (see the info node `Easy Customization')
|
||||
or call the function `global-diff-hl-show-hunk-mouse-mode'.")
|
||||
(custom-autoload 'global-diff-hl-show-hunk-mouse-mode "diff-hl-show-hunk" nil)
|
||||
(autoload 'global-diff-hl-show-hunk-mouse-mode "diff-hl-show-hunk" "\
|
||||
Toggle Diff-Hl-Show-Hunk-Mouse mode in all buffers.
|
||||
With prefix ARG, enable Global Diff-Hl-Show-Hunk-Mouse mode if ARG is
|
||||
positive; otherwise, disable it.
|
||||
|
||||
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.
|
||||
|
||||
Diff-Hl-Show-Hunk-Mouse mode is enabled in all buffers where
|
||||
`diff-hl-show-hunk-mouse-mode' would do it.
|
||||
|
||||
See `diff-hl-show-hunk-mouse-mode' for more information on
|
||||
Diff-Hl-Show-Hunk-Mouse mode.
|
||||
|
||||
(fn &optional ARG)" t)
|
||||
(register-definition-prefixes "diff-hl-show-hunk" '("diff-hl-show-hunk-"))
|
||||
|
||||
|
||||
;;; Generated autoloads from diff-hl-show-hunk-posframe.el
|
||||
|
||||
(autoload 'diff-hl-show-hunk-posframe "diff-hl-show-hunk-posframe" "\
|
||||
Implementation to show the hunk in a posframe.
|
||||
|
||||
(fn BUFFER &optional LINE)")
|
||||
(register-definition-prefixes "diff-hl-show-hunk-posframe" '("diff-hl-show-hunk-"))
|
||||
|
||||
;;; End of scraped data
|
||||
|
||||
(provide 'diff-hl-autoloads)
|
||||
|
||||
;; Local Variables:
|
||||
;; version-control: never
|
||||
;; no-byte-compile: t
|
||||
;; no-update-autoloads: t
|
||||
;; no-native-compile: t
|
||||
;; coding: utf-8-emacs-unix
|
||||
;; End:
|
||||
|
||||
;;; diff-hl-autoloads.el ends here
|
||||
@@ -44,6 +44,7 @@
|
||||
(require 'package)
|
||||
(package-generate-autoloads "all-the-icons" (concat config-dir "lisp/all-the-icons"))
|
||||
(package-generate-autoloads "dashboard" (concat config-dir "lisp/dashboard"))
|
||||
(package-generate-autoloads "diff-hl" (concat config-dir "lisp/diff-hl"))
|
||||
(package-generate-autoloads "ivy" (concat config-dir "lisp/ivy"))
|
||||
(package-generate-autoloads "ivy-rich" (concat config-dir "lisp/ivy-rich"))
|
||||
(package-generate-autoloads "my" (concat config-dir "lisp/my"))
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
(use-package diff-hl
|
||||
;; show diffs in fringes (for margins see `diff-hl-margin')
|
||||
;; https://github.com/dgutov/diff-hl
|
||||
:init (require 'diff-hl-autoloads)
|
||||
:hook (((prog-mode vc-dir-mode org-mode) . turn-on-diff-hl-mode)
|
||||
(magit-pre-refresh . diff-hl-magit-pre-refresh)
|
||||
(magit-post-refresh . diff-hl-magit-post-refresh))
|
||||
@@ -65,7 +66,6 @@
|
||||
;; navigation and revert commands still work. Consider turning
|
||||
;; diff-hl-margin-mode on, to show the indicators in the margin
|
||||
;; instead.
|
||||
:after diff-hl
|
||||
:unless (display-graphic-p)
|
||||
:hook ((diff-hl-mode . diff-hl-margin-mode)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user