Emacs: Add clang-format if it is installed.

This commit is contained in:
tastytea 2020-04-27 04:03:48 +02:00
parent 8f70497475
commit 15402c4ac9
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
;;; c++.el --- C++ settings. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-04-27T03:03:05+0200>
;; Time-stamp: <2020-04-27T04:03:35+0200>
;;; Commentary:
@ -133,5 +133,9 @@
"/usr/local/include/*"))
)
(when (executable-find "clang-format")
(use-package clang-format
:ensure nil)) ; Installed by clang.
(provide 'programming/c++)
;;; c++.el ends here