Function: flymake-proc--master-file-compare

flymake-proc--master-file-compare is a byte-compiled function defined in flymake-proc.el.gz.

Signature

(flymake-proc--master-file-compare FILE-ONE FILE-TWO)

Documentation

Compare two files specified by FILE-ONE and FILE-TWO.

This function is used in sort to move most possible file names to the beginning of the list (File.h -> File.cpp moved to top).

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/flymake-proc.el.gz
(defun flymake-proc--master-file-compare (file-one file-two)
  "Compare two files specified by FILE-ONE and FILE-TWO.
This function is used in sort to move most possible file names
to the beginning of the list (File.h -> File.cpp moved to top)."
  (and (equal (file-name-sans-extension flymake-proc--included-file-name)
	      (file-name-base file-one))
       (not (equal file-one file-two))))