Don't take action for clang options

This commit is contained in:
Benson Chu 2026-05-14 17:11:05 -05:00
parent 4bc8acf8e7
commit e904230237
2 changed files with 3 additions and 3 deletions

View file

@ -204,7 +204,7 @@
(defvar clang/detect-extensions-function nil)
(cl-defun clang/get-clang-options (&key filename compiler action)
(cl-defun clang/get-clang-options (&key filename compiler)
(interactive)
(let* ((filename (or filename (buffer-file-name)))
(target-str (comp-dev/conf-get 'target))
@ -213,7 +213,7 @@
(clang/get-clang-options-for-target target))
(detected-extensions
(awhen clang/detect-extensions-function
(funcall it compiler action filename target-str))))
(funcall it compiler filename target-str))))
(cos/to-string
(clang/clang-options-merge
(car options-config)

@ -1 +1 @@
Subproject commit 298c9aebef91c503a13e84a12a0bc4bef1e24626
Subproject commit e1024b2d6047bda013b9c2a1bb197133064bc156