mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-17 12:30:59 +01:00
magit doesnt work on w32
This commit is contained in:
11
.emacs
11
.emacs
@@ -1,4 +1,4 @@
|
|||||||
;; Toms Emacs Config - portable - version (20170730.01) -*-emacs-lisp-*-
|
;; Toms Emacs Config - portable - version (20170731.01) -*-emacs-lisp-*-
|
||||||
;; * Introduction
|
;; * Introduction
|
||||||
|
|
||||||
;; This is my emacs config, it is more than twenty years old. It
|
;; This is my emacs config, it is more than twenty years old. It
|
||||||
@@ -587,6 +587,9 @@
|
|||||||
;; 20170730.01
|
;; 20170730.01
|
||||||
;; - +some magit navigation keys
|
;; - +some magit navigation keys
|
||||||
|
|
||||||
|
;; 20170731.01
|
||||||
|
;; - do not load magit on w32
|
||||||
|
|
||||||
;; ** TODO
|
;; ** TODO
|
||||||
|
|
||||||
;; - check helpful https://github.com/wilfred/helpful
|
;; - check helpful https://github.com/wilfred/helpful
|
||||||
@@ -615,7 +618,7 @@
|
|||||||
;; My emacs config has a version (consisting of a timestamp with a
|
;; My emacs config has a version (consisting of a timestamp with a
|
||||||
;; serial), which I display in the mode line. So I can clearly see, if
|
;; serial), which I display in the mode line. So I can clearly see, if
|
||||||
;; I'm using an outdated config somewhere.
|
;; I'm using an outdated config somewhere.
|
||||||
(defvar tvd-emacs-version "20170730.01")
|
(defvar tvd-emacs-version "20170731.01")
|
||||||
|
|
||||||
;; --------------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -4394,7 +4397,7 @@ defun."
|
|||||||
;; *** Magit
|
;; *** Magit
|
||||||
|
|
||||||
;; Not much to say about Magit
|
;; Not much to say about Magit
|
||||||
|
(unless tvd-win-home
|
||||||
(setq tvd-magit-revision "20170725.1153")
|
(setq tvd-magit-revision "20170725.1153")
|
||||||
|
|
||||||
(add-to-list 'load-path (concat tvd-lisp-dir (concat "/magit-" tvd-magit-revision)))
|
(add-to-list 'load-path (concat tvd-lisp-dir (concat "/magit-" tvd-magit-revision)))
|
||||||
@@ -4438,7 +4441,7 @@ defun."
|
|||||||
(when (re-search-forward "Magit requires Git >=")
|
(when (re-search-forward "Magit requires Git >=")
|
||||||
(kill-buffer-and-window)))))
|
(kill-buffer-and-window)))))
|
||||||
|
|
||||||
(add-hook 'after-init-hook 'tvd-ignore-magit-warnings-if-any t)
|
(add-hook 'after-init-hook 'tvd-ignore-magit-warnings-if-any t))
|
||||||
|
|
||||||
;; HINT: how to add a popup action:
|
;; HINT: how to add a popup action:
|
||||||
;; (magit-define-popup-action 'magit-commit-popup
|
;; (magit-define-popup-action 'magit-commit-popup
|
||||||
|
|||||||
1301
emacs.html
1301
emacs.html
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user