summaryrefslogtreecommitdiffstats
path: root/debian/git-el.emacsen-startup
blob: a32a84162a77ef3617f7205a97a8f4fe8120acae (plain)
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