From 9db4966aab9ce7fc7addf93bc9dff4f179884804 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 4 Jan 2020 10:24:43 +0100 Subject: [PATCH] Emacs: Set cc-search-directories. --- init.d/programming/c++.el | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/init.d/programming/c++.el b/init.d/programming/c++.el index d8e5865..9ef0923 100644 --- a/init.d/programming/c++.el +++ b/init.d/programming/c++.el @@ -1,6 +1,6 @@ ;;; c++.el --- C++ settings. -*- lexical-binding: t; -*- -;; Time-stamp: <2019-12-26T07:40:19+00:00> +;; Time-stamp: <2020-01-04T10:24:10+0100> ;;; Commentary: @@ -208,5 +208,14 @@ ("C-x M-i" . my/clang-include-fixer) ) +(use-package find-file + :custom + (cc-search-directories '("." ; Set directories for ff-find-other-file. + "/usr/include" + "/usr/local/include/*" + "../src" + "../include")) + ) + (provide 'programming/c++) ;;; c++.el ends here