lang/cc: remove unused arg in +cc/reload-compile-db
Appeases the byte-compiler (praise be!)
This commit is contained in:
parent
bee80c1a24
commit
dd7a26352b
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
;;; lang/cc/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(defun +cc/reload-compile-db (&optional force-p)
|
||||
(defun +cc/reload-compile-db ()
|
||||
"Reload the current project's JSON compilation database."
|
||||
(interactive "P")
|
||||
(interactive)
|
||||
(unless (memq major-mode '(c-mode c++-mode objc-mode))
|
||||
(user-error "Not a C/C++/ObjC buffer"))
|
||||
(unless (doom-project-has! "compile_commands.json")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue