X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/26e06f4464c58704889bdc536edc25b73e8c0179..6ca26f1d7fd69a2d02c689295b952f54857d7827:/lisp/url/url-nfs.el diff --git a/lisp/url/url-nfs.el b/lisp/url/url-nfs.el index d66dffa6d0..c0183d7ea5 100644 --- a/lisp/url/url-nfs.el +++ b/lisp/url/url-nfs.el @@ -1,7 +1,7 @@ ;;; url-nfs.el --- NFS URL interface ;; Copyright (C) 1996, 1997, 1998, 1999, 2004, -;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +;; 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. ;; Keywords: comm, data, processes @@ -42,8 +42,7 @@ Each can be used any number of times.") (defun url-nfs-unescape (format host port user pass file) - (save-excursion - (set-buffer (get-buffer-create " *nfs-parse*")) + (with-current-buffer (get-buffer-create " *nfs-parse*") (erase-buffer) (insert format) (goto-char (point-min))