diff options
author | Xue Fuqiao <xfq.free@gmail.com> | 2013-08-26 06:30:56 +0800 |
---|---|---|
committer | Xue Fuqiao <xfq.free@gmail.com> | 2013-08-26 06:30:56 +0800 |
commit | eed991017a9d80651febdb5549bc75853945dfbc (patch) | |
tree | 06d924163a6a1d13f75dfb87b0f4599d2b90caac /lisp | |
parent | 8a51e842321a59943df63faa97d98a390e22211a (diff) | |
download | emacs-eed991017a9d80651febdb5549bc75853945dfbc.tar.gz |
Fix broken customization in Flymake.
* lisp/progmodes/flymake.el (flymake-get-real-file-name-function):
Fix broken customization. (Bug#15184)
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/progmodes/flymake.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cf0864561aa..09bd7d19c2a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-08-25 Xue Fuqiao <xfq.free@gmail.com> + + * progmodes/flymake.el (flymake-get-real-file-name-function): + Fix broken customization. (Bug#15184) + 2013-08-25 Alan Mackenzie <acm@muc.de> Improve indentation of bracelists defined by macros (without "="). diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 2ead734d163..ab86b83f7bf 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -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)) |