lang/cc: remove unused arg in +cc/reload-compile-db

Appeases the byte-compiler (praise be!)
This commit is contained in:
Henrik Lissner 2018-01-05 13:13:07 -05:00
parent bee80c1a24
commit dd7a26352b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -1,9 +1,9 @@
;;; lang/cc/autoload.el -*- lexical-binding: t; -*- ;;; lang/cc/autoload.el -*- lexical-binding: t; -*-
;;;###autoload ;;;###autoload
(defun +cc/reload-compile-db (&optional force-p) (defun +cc/reload-compile-db ()
"Reload the current project's JSON compilation database." "Reload the current project's JSON compilation database."
(interactive "P") (interactive)
(unless (memq major-mode '(c-mode c++-mode objc-mode)) (unless (memq major-mode '(c-mode c++-mode objc-mode))
(user-error "Not a C/C++/ObjC buffer")) (user-error "Not a C/C++/ObjC buffer"))
(unless (doom-project-has! "compile_commands.json") (unless (doom-project-has! "compile_commands.json")