Emacs: Extend cc-search-directories.

This commit is contained in:
tastytea 2020-01-27 06:31:11 +01:00
parent 0d6b6a3f86
commit cddca99f44

View File

@ -1,6 +1,6 @@
;;; c++.el --- C++ settings. -*- lexical-binding: t; -*- ;;; c++.el --- C++ settings. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-01-27T02:35:00+0100> ;; Time-stamp: <2020-01-27T06:10:15+0100>
;;; Commentary: ;;; Commentary:
@ -156,10 +156,16 @@
(use-package find-file (use-package find-file
:custom :custom
(cc-search-directories '("." ; Set directories for ff-find-other-file. (cc-search-directories '("." ; Set directories for ff-find-other-file.
"/usr/include"
"/usr/local/include/*"
"../src" "../src"
"../include")) "../include"
"../../src"
"../../include"
"../src/*"
"../include/*"
"../../src/*"
"../../include/*"
"/usr/include"
"/usr/local/include/*"))
) )
(provide 'programming/c++) (provide 'programming/c++)