changeset 86193:efeba4229951

(flymake-goto-file-and-line): Fix typo in string.
author Martin Rudalics <rudalics@gmx.at>
date Sat, 17 Nov 2007 09:46:37 +0000
parents 9dd6df5cf48b
children 38f922ac20ce
files lisp/progmodes/flymake.el
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/flymake.el	Sat Nov 17 03:56:37 2007 +0000
+++ b/lisp/progmodes/flymake.el	Sat Nov 17 09:46:37 2007 +0000
@@ -1268,10 +1268,9 @@
 (defun flymake-goto-file-and-line (file line)
   "Try to get buffer for FILE and goto line LINE in it."
   (if (not (file-exists-p file))
-      (flymake-log 1 "file %s does not exists" file)
-    (progn
-      (find-file file)
-      (goto-line line))))
+      (flymake-log 1 "File %s does not exist" file)
+    (find-file file)
+    (goto-line line)))
 
 ;; flymake minor mode declarations
 (defvar flymake-mode-line nil)