From: Xue Fuqiao Date: Sun, 25 Aug 2013 22:30:56 +0000 (+0800) Subject: Fix broken customization in Flymake. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1686^2~125 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eed991017a9d80651febdb5549bc75853945dfbc;p=emacs.git Fix broken customization in Flymake. * lisp/progmodes/flymake.el (flymake-get-real-file-name-function): Fix broken customization. (Bug#15184) --- diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi index 090310c5545..f351829e4cf 100644 --- a/doc/lispref/nonascii.texi +++ b/doc/lispref/nonascii.texi @@ -248,6 +248,7 @@ unibyte string, it is returned unchanged. Use this function for characters. @end defun +@c FIXME: Should `@var{character}' be `@var{byte}'? @defun byte-to-string byte @cindex byte to string This function returns a unibyte string containing a single byte of @@ -401,6 +402,8 @@ specifies how the character behaves and how it should be handled during text processing and display. Thus, character properties are an important part of specifying the character's semantics. +@c FIXME: Use the latest URI of this chapter? +@c http://www.unicode.org/versions/latest/ch04.pdf On the whole, Emacs follows the Unicode Standard in its implementation of character properties. In particular, Emacs supports the @uref{http://www.unicode.org/reports/tr23/, Unicode Character Property 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 + + * progmodes/flymake.el (flymake-get-real-file-name-function): + Fix broken customization. (Bug#15184) + 2013-08-25 Alan Mackenzie 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))