Advertisement
Guest User

Untitled

a guest
Dec 20th, 2011
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.42 KB | None | 0 0
  1. diff --git a/lisp/errors.l b/lisp/errors.l
  2. index d15ba15..edd0fb8 100644
  3. --- a/lisp/errors.l
  4. +++ b/lisp/errors.l
  5. @@ -34,7 +34,7 @@
  6.        t)
  7.       ((setq buffer (if (string-match "^<.+>$" name)
  8.                 (find-buffer (subseq name 1 (- (length name) 1)))
  9. -             (and (file-exist-p file)
  10. +             (and (ignore-errors (file-exist-p file))
  11.                    (or (get-file-buffer file)
  12.                    (save-excursion
  13.                      (find-file file nil t)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement