From: Martin Rudalics Date: Sat, 17 Nov 2007 09:46:37 +0000 (+0000) Subject: (flymake-goto-file-and-line): Fix typo in string. X-Git-Tag: emacs-pretest-23.0.90~9662 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=caf790b6e3902030bf38a80b0c26e357d156190a;p=emacs.git (flymake-goto-file-and-line): Fix typo in string. --- diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 5538bd8984a..1e144282de5 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -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)