Browse Source

fix issues needed for byte compiling

master
Brett Langdon 7 years ago
parent
commit
9daf728b87
No known key found for this signature in database GPG Key ID: B664881177781B04
1 changed files with 8 additions and 2 deletions
  1. +8
    -2
      emacs.d/init.el

+ 8
- 2
emacs.d/init.el View File

@ -32,7 +32,7 @@
;; -- Core setup --
(progn
;; Current directory name, probably "~/emacs.d"
(setq current-dir (file-name-directory load-file-name))
(setq current-dir (file-name-directory (if load-file-name load-file-name "~/.emacs.d/")))
;; Configure customization
(setq custom-file (expand-file-name "custom.el" current-dir))
@ -129,6 +129,7 @@
;; Enable center cursor
(use-package centered-cursor-mode
:load-path "vendor/"
:functions global-centered-cursor-mode
:config
(global-centered-cursor-mode))
@ -151,6 +152,7 @@
;; Configure helm
;; https://emacs-helm.github.io/helm/
(setq personal-keybindings nil)
(use-package helm-config
:ensure helm
:diminish helm-mode
@ -168,9 +170,13 @@
;; https://www.projectile.mx/en/latest/
(use-package projectile
:delight '(:eval (concat " " (projectile-project-name)))
:functions (projectile-project-p
projectile-project-root
projectile-current-project-dirs
projectile-file-cached-p)
:config
(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)
(projectile-global-mode +1)
(projectile-mode +1)
;; Use helm-projectile
:config
(setq projectile-completion-system 'helm


Loading…
Cancel
Save