Update indentation settings

* .dir-locals.el: Set `indent-tabs-mode' automatically.
This commit is contained in:
Oleh Krehel 2016-04-14 12:28:10 +02:00
parent 58d75804ff
commit 916d4a7034
2 changed files with 60 additions and 53 deletions

5
.dir-locals.el Normal file
View file

@ -0,0 +1,5 @@
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
((emacs-lisp-mode
(indent-tabs-mode . nil)))

View file

@ -39,12 +39,13 @@
(require 'counsel)
(require 'projectile)
;;; counsel-projectile-find-file
;;;###autoload
(defun counsel-projectile-find-file (&optional arg)
"Replacement for `projectile-find-file'. Jump to a project's file using completion.
"Jump to a project's file using completion.
Replacement for `projectile-find-file'.
With a prefix ARG invalidates the cache first."
(interactive "P")
(projectile-maybe-invalidate-cache arg)
@ -62,7 +63,8 @@ With a prefix ARG invalidates the cache first."
'counsel-projectile-find-file
'(("w" (lambda (x)
(with-ivy-window
(find-file-other-window (expand-file-name x (projectile-project-root)))))
(find-file-other-window
(expand-file-name x (projectile-project-root)))))
"other window")))
;;; counsel-projectile-find-dir