Load realgud only on demand.
This commit is contained in:
parent
b8fd7fc71c
commit
1ab7fdb5bd
16
init.el
16
init.el
|
@ -1,5 +1,5 @@
|
||||||
;;; init.el --- tastytea's Emacs init file.
|
;;; init.el --- tastytea's Emacs init file.
|
||||||
;;; Time-stamp: <2019-03-30 00:22:42 CET>
|
;;; Time-stamp: <2019-03-30 12:28:53 CET>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;;; I am using this file with Emacs 26, but most of it will probably work with
|
;;; I am using this file with Emacs 26, but most of it will probably work with
|
||||||
|
@ -62,7 +62,7 @@
|
||||||
(if (member (system-name) '("steuerbeamter" "azimuth" "localhost"))
|
(if (member (system-name) '("steuerbeamter" "azimuth" "localhost"))
|
||||||
(setq slow-computer t)) ; localhost is schnibble
|
(setq slow-computer t)) ; localhost is schnibble
|
||||||
|
|
||||||
;; Show manpages and error messages from compilers in english.
|
;; Show manpages and error messages from compilers in English.
|
||||||
(setenv "LANG" "en_US.utf8")
|
(setenv "LANG" "en_US.utf8")
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;; Configure some essential things ;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;; Configure some essential things ;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
@ -269,15 +269,17 @@
|
||||||
:config
|
:config
|
||||||
(defun my/load-realgud ()
|
(defun my/load-realgud ()
|
||||||
(load-library "realgud"))
|
(load-library "realgud"))
|
||||||
:hook
|
:bind
|
||||||
(c++-mode . my/load-realgud)
|
(:map c++-mode-map
|
||||||
(c-mode . my/load-realgud))
|
("C-c g" . my/load-realgud))
|
||||||
|
(:map c-mode-map
|
||||||
|
("C-c g" . my/load-realgud)))
|
||||||
|
|
||||||
;; Highlight TODO, FIXME, NOTE and so on.
|
;; Highlight TODO, FIXME, NOTE and so on.
|
||||||
(use-package hl-todo
|
(use-package hl-todo
|
||||||
:bind
|
:bind
|
||||||
(:map hl-todo-mode-map
|
(:map hl-todo-mode-map
|
||||||
("C-c t" . hl-todo-occur))
|
("C-c t" . hl-todo-occur))
|
||||||
:hook
|
:hook
|
||||||
(prog-mode . hl-todo-mode))
|
(prog-mode . hl-todo-mode))
|
||||||
|
|
||||||
|
@ -583,7 +585,7 @@
|
||||||
(use-package midnight
|
(use-package midnight
|
||||||
:defer 5
|
:defer 5
|
||||||
:init
|
:init
|
||||||
(setq midnight-delay 0 ; 0 seconds after "midnight"
|
(setq midnight-delay 30 ; 30 seconds after "midnight"
|
||||||
midnight-period (* 1 60 60)) ; Clean every 1 hours.
|
midnight-period (* 1 60 60)) ; Clean every 1 hours.
|
||||||
;; FIXME: midnight-period has no or not the desired effect.
|
;; FIXME: midnight-period has no or not the desired effect.
|
||||||
:custom
|
:custom
|
||||||
|
|
Loading…
Reference in New Issue
Block a user