X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/315f675857250c2204d024748e9eafa57c68410f..f0ee9096ba9f35b9e6b85fb5c5f5f56168a67824:/lisp/url/url-nfs.el diff --git a/lisp/url/url-nfs.el b/lisp/url/url-nfs.el index cb5695b554..82eb1b397f 100644 --- a/lisp/url/url-nfs.el +++ b/lisp/url/url-nfs.el @@ -1,6 +1,6 @@ ;;; url-nfs.el --- NFS URL interface -;; Copyright (C) 1996-1999, 2004-2012 Free Software Foundation, Inc. +;; Copyright (C) 1996-1999, 2004-2014 Free Software Foundation, Inc. ;; Keywords: comm, data, processes @@ -23,7 +23,6 @@ ;;; Code: -(eval-when-compile (require 'cl)) (require 'url-parse) (require 'url-file) @@ -49,7 +48,7 @@ Each can be used any number of times." (while (re-search-forward "%\\(.\\)" nil t) (let ((escape (aref (match-string 1) 0))) (replace-match "" t t) - (case escape + (pcase escape (?% (insert "%")) (?h (insert host)) (?n (insert (or port "")))