diff options
author | Masatake YAMATO <[email protected]> | 2004-10-25 16:58:46 +0000 |
---|---|---|
committer | Masatake YAMATO <[email protected]> | 2004-10-25 16:58:46 +0000 |
commit | e3c9b21e83378ad3ba9315777decdfa4ba4c9049 (patch) | |
tree | 11eb11d50bb0312325012957b11478c1ac196628 | |
parent | f328b6c4eed8aa79b2bbf40624814f310a5883ae (diff) |
* progmodes/flymake.el (flymake-split-string): Use
`flymake-split-string-remove-empty-edges' in any case.
* progmodes/flymake.el (flymake-err-line-patterns):
Use `compilation-error-regexp-alist-alist' instead of
`compilation-error-regexp-alist'.
-rw-r--r-- | lisp/ChangeLog | 11 | ||||
-rw-r--r-- | lisp/progmodes/flymake.el | 5 |
2 files changed, 14 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b7885b0229..b635074310 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,14 @@ +2004-10-26 Pavel Kobiakov <[email protected]> + + * progmodes/flymake.el (flymake-split-string): Use + `flymake-split-string-remove-empty-edges' in any case. + +2004-10-26 Masatake YAMATO <[email protected]> + + * progmodes/flymake.el (flymake-err-line-patterns): + Use `compilation-error-regexp-alist-alist' instead of + `compilation-error-regexp-alist'. + 2004-10-25 Jay Belanger <[email protected]> * calc/calc-incom.el (calc-digit-dots): Inhibit read-only before diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 2cd62eeece..3ccea967bc 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -94,7 +94,7 @@ (defun flymake-split-string(str pattern) (cond ((equal flymake-emacs 'xemacs) (flymake-split-string-remove-empty-edges str pattern)) - (t (split-string str pattern)) + (t (flymake-split-string-remove-empty-edges str pattern)) ) ) @@ -1243,7 +1243,8 @@ Whenether a buffer for master-file-name exists, use it as a source instead of re (" *\\(\\[javac\\]\\)? *\\(\\([a-zA-Z]:\\)?[^:(\t\n]+\\)\:\\([0-9]+\\)\:[ \t\n]*\\(.+\\)" 2 4 nil 5) ) - compilation-error-regexp-alist) + ;; compilation-error-regexp-alist) + (mapcar (lambda (x) (cdr x)) compilation-error-regexp-alist-alist)) "patterns for matching error/warning lines, (regexp file-idx line-idx err-text-idx)" ) ;(defcustom flymake-err-line-patterns |