]> git.eshelyaron.com Git - emacs.git/commitdiff
(flymake-goto-file-and-line): Fix typo in string.
authorMartin Rudalics <rudalics@gmx.at>
Sat, 17 Nov 2007 09:46:37 +0000 (09:46 +0000)
committerMartin Rudalics <rudalics@gmx.at>
Sat, 17 Nov 2007 09:46:37 +0000 (09:46 +0000)
lisp/progmodes/flymake.el

index 5538bd8984a4d941e935f022f45cdf431132a34d..1e144282de53231dd7cf312bd408b0c763d380a1 100644 (file)
@@ -1268,10 +1268,9 @@ For the format of LINE-ERR-INFO, see `flymake-ler-make-ler'."
 (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)