Fix some things
This commit is contained in:
parent
d0c83ed563
commit
9fce4365dc
4 changed files with 6 additions and 14 deletions
4
.ctags
Normal file
4
.ctags
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
-R
|
||||
--exclude=*.js
|
||||
--exclude=*.py
|
||||
--exclude=*.elc
|
||||
|
|
@ -184,19 +184,11 @@
|
|||
(projectile-regenerate-tags))))
|
||||
|
||||
(setq projectile-enable-caching t)
|
||||
;; Expire cache after 5 minutes
|
||||
(setq projectile-file-exists-local-cache-expire (* 2 60))
|
||||
|
||||
;; Always create a new tag table list and reload without asking
|
||||
(setq tags-revert-without-query t)
|
||||
(setq tags-add-tables nil)
|
||||
|
||||
;; Enable idle timer
|
||||
;; TODO: Does not work properly
|
||||
(setq projectile-enable-idle-timer t)
|
||||
(add-hook 'projectile-idle-timer-hook 'projectile-regenerate-tags-if-exist)
|
||||
(setq projectile-idle-timer-seconds 15)
|
||||
|
||||
;; Run the tags if project was changed
|
||||
(add-hook 'projectile-after-switch-project-hook
|
||||
'projectile-regenerate-tags-if-exist)
|
||||
|
|
|
|||
|
|
@ -40,9 +40,6 @@
|
|||
nil
|
||||
t))
|
||||
|
||||
;; (add-hook 'kill-emacs-hook 'byte-compile-init-dir)
|
||||
;; (add-hook 'emacs-lisp-mode-hook 'remove-elc-on-save)
|
||||
|
||||
;; Always start in fullscreen
|
||||
(defun toggle-fullscreen ()
|
||||
"Toggle full screen."
|
||||
|
|
|
|||
|
|
@ -15,12 +15,11 @@
|
|||
(company-mode 1)
|
||||
(flycheck-mode 1)
|
||||
(set (make-local-variable 'company-backends)
|
||||
'((elisp-company company-capf company-dabbrev-code company-yasnippet
|
||||
company-files))))
|
||||
'((elisp-company company-capf company-yasnippet company-files))))
|
||||
|
||||
;;========== Hooks =================================
|
||||
(add-hook 'emacs-lisp-mode-hook 'editor-config-elisp)
|
||||
(add-hook 'emacs-lisp-mode-hook 'completion-config-elisp)
|
||||
|
||||
(provide 'elisp)
|
||||
;;; elisp.el ends here
|
||||
;;; elisp.el ends here.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue