File: git-el.emacsen-startup

package info (click to toggle)
git 1:2.11.0-3+deb9u4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 37,344 kB
  • sloc: ansic: 175,978; sh: 154,654; perl: 29,746; tcl: 21,549; python: 6,781; makefile: 3,405; lisp: 1,786; php: 120; asm: 98; csh: 45
file content (32 lines) | stat: -rw-r--r-- 1,063 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
;; -*-emacs-lisp-*-
;;
;; Emacs startup file, e.g.  /etc/emacs/site-start.d/50git-core.el
;; for the Debian git package


(let ((dir (concat "/usr/share/"
                   (symbol-name debian-emacs-flavor)
                   "/site-lisp/git")))
  (if (not (file-exists-p dir))
      (message "git removed but not purged, skipping setup")

    ;; debian-pkg-add-load-path-item as from debian 3.1 "sarge",
    ;; emacsen-common 1.4.14 of June 2002
    (debian-pkg-add-load-path-item dir)

    ;; Compatibility note: In debian git-core 1:1.7.0-1 there was a long
    ;; list of generated autoloads here, but now pruned back to the
    ;; interactive entrypoints.  If you were using those autoloads in elisp
    ;; code, don't do that, use (require 'git) to express the dependency.

    ;; git.el

    (autoload 'git-status "git" "Entry point into git-status mode." t)

    ;; git-blame.el

    ;; this autoload as recommended by git-blame.el comments
    (autoload 'git-blame-mode "git-blame"
      "Minor mode for incremental blame for Git." t)))

;; End of file