lang/cc: +cc/reload-compile-commands => +cc/reload-compile-db #305
This commit is contained in:
parent
869a85a46b
commit
e833a16e04
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
;;; lang/cc/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(defun +cc/reload-compile-commands (&optional force-p)
|
||||
"Reload the current project's compile_commands.json file."
|
||||
(defun +cc/reload-compile-db (&optional force-p)
|
||||
"Reload the current project's JSON compilation database."
|
||||
(interactive "P")
|
||||
(unless (memq major-mode '(c-mode c++-mode objc-mode))
|
||||
(user-error "Not a C/C++/ObjC buffer"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue