diff --git a/CHANGELOG.develop b/CHANGELOG.develop index a070de695..1e0b99c0f 100644 --- a/CHANGELOG.develop +++ b/CHANGELOG.develop @@ -1313,6 +1313,7 @@ Other: - Key bindings: - Fixed key binding ~g C~ (thanks to dubnde) - New ~SPC m g =~ to find assignments to a symbol (thanks to dubnde) +- Make pycscope binary configurable (thanks to Gonéri Le Bouder) **** CSharp - Improvements: - Enabled =flycheck= by default (thanks to Saulius Menkevičius) diff --git a/layers/+tags/cscope/config.el b/layers/+tags/cscope/config.el new file mode 100644 index 000000000..813c8b1ca --- /dev/null +++ b/layers/+tags/cscope/config.el @@ -0,0 +1,10 @@ +;;; config.el --- cscope configuration File +;; +;; Copyright (c) 2019 Sylvain Benner & Contributors +;; +;; This file is not part of GNU Emacs. +;; +;;; License: GPLv3 + +(defvar pycscope-binary "pycscope" +"The name of the pycscope binary.") diff --git a/layers/+tags/cscope/packages.el b/layers/+tags/cscope/packages.el index 738bf9d59..8e6233b72 100644 --- a/layers/+tags/cscope/packages.el +++ b/layers/+tags/cscope/packages.el @@ -37,7 +37,8 @@ (cscope//safe-project-root))))) (let ((default-directory directory)) (shell-command - (format "pycscope -R -f '%s'" + (format "%s -R -f '%s'" + pycscope-binary (expand-file-name "cscope.out" directory)))))))) (defun cscope/init-helm-cscope ()