2016-02-02 15:42:58 +00:00
|
|
|
;;; funcs.el --- Spacemacs Base Layer functions File
|
|
|
|
;;
|
|
|
|
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
|
|
|
|
;;
|
|
|
|
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
|
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
|
|
;;
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
;;
|
|
|
|
;;; License: GPLv3
|
|
|
|
|
|
|
|
(defun spacemacs/projectile-shell-pop ()
|
|
|
|
"Open a term buffer at projectile project root."
|
|
|
|
(interactive)
|
|
|
|
(let ((default-directory (projectile-project-root)))
|
|
|
|
(call-interactively 'spacemacs/default-pop-shell)))
|
2016-02-27 23:25:33 +00:00
|
|
|
|
|
|
|
(defun spacemacs/disable-hl-line-mode ()
|
|
|
|
"Locally disable global-hl-line-mode"
|
|
|
|
(interactive)
|
|
|
|
(setq-local global-hl-line-mode nil))
|