Function: flymake-proc--get-syntax-check-program-args

flymake-proc--get-syntax-check-program-args is a byte-compiled function defined in flymake-proc.el.gz.

Signature

(flymake-proc--get-syntax-check-program-args SOURCE-FILE-NAME BASE-DIR USE-RELATIVE-BASE-DIR USE-RELATIVE-SOURCE GET-CMD-LINE-F)

Documentation

Create a command line for syntax check using GET-CMD-LINE-F.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/flymake-proc.el.gz
;;;; make-specific init-cleanup routines
(defun flymake-proc--get-syntax-check-program-args (source-file-name base-dir use-relative-base-dir use-relative-source get-cmd-line-f)
  "Create a command line for syntax check using GET-CMD-LINE-F."
  (funcall get-cmd-line-f
           (if use-relative-source
               (file-relative-name source-file-name base-dir)
             source-file-name)
           (if use-relative-base-dir
               (file-relative-name base-dir
                                   (file-name-directory source-file-name))
             base-dir)))