]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/flymake.el
* progmodes/octave.el (octave-mode-map, octave-mode-menu): Add
[gnu-emacs] / lisp / progmodes / flymake.el
index 2ead734d163d17ac28a90416088e8fe50c4bf802..ab86b83f7bf434e07b94d60f8861d83a96578151 100644 (file)
@@ -353,7 +353,7 @@ Return nil if we cannot, non-nil if we can."
       'flymake-simple-cleanup))
 
 (defun flymake-get-real-file-name-function (file-name)
-  (or (nth 4 (flymake-get-file-name-mode-and-masks file-name))
+  (or (nth 2 (flymake-get-file-name-mode-and-masks file-name))
       'flymake-get-real-file-name))
 
 (defvar flymake-find-buildfile-cache (flymake-makehash 'equal))