cquery-project / emacs-cquery

Emacs client for cquery, a low-latency language server supporting multi-million line C++ code-bases
116 stars 14 forks source link

cquery--execute-command-locally-advice should call original function with command and args #72

Open fishmacs opened 4 years ago

fishmacs commented 4 years ago
(defun cquery--execute-command-locally-advice (orig-func command args)
  (if (cquery--is-cquery-buffer)
        (cquery--execute-command command args)
     (funcall orig-func args)))

Should it be (funcall orig-func command args) if not in a cquery-buffer?