Function: flymake-proc--find-buffer-for-file

flymake-proc--find-buffer-for-file is a byte-compiled function defined in flymake-proc.el.gz.

Signature

(flymake-proc--find-buffer-for-file FILE-NAME)

Documentation

Check if there exists a buffer visiting FILE-NAME.

Return the buffer if it exists, nil if not.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/flymake-proc.el.gz
(defun flymake-proc--find-buffer-for-file (file-name)
  "Check if there exists a buffer visiting FILE-NAME.
Return the buffer if it exists, nil if not."
  (let ((buffer-name (get-file-buffer file-name)))
    (if buffer-name
	(get-buffer buffer-name))))