mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 16:24:18 +00:00
Don't eval these until cc-mode has been loaded
This commit is contained in:
parent
7b9647505e
commit
2193bb2ff5
1 changed files with 5 additions and 4 deletions
|
|
@ -148,10 +148,11 @@
|
|||
|
||||
(when (and (null window-system)
|
||||
(not (daemonp)))
|
||||
(with-eval-after-load 'cc-mode
|
||||
(define-key c++-mode-map (kbd "C-c .") nil)
|
||||
(define-key c++-mode-map (kbd "C-c . .") #'c-set-style)
|
||||
(define-key org-mode-map (kbd "C-c .") nil)
|
||||
(define-key org-mode-map (kbd "C-c . .") #'org-time-stamp))
|
||||
(define-key org-mode-map (kbd "C-c . .") #'org-time-stamp)))
|
||||
|
||||
;; Provide my own projectile-compile-project which uses
|
||||
;; cca/projectile-compilation-dir instead of projectile-compilation-dir.
|
||||
|
|
|
|||
Loading…
Reference in a new issue