X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/4382021fc15f8a52c9dd12bacb7c75dbeb562302..acaf905b1130aae80fa59d2c861ffd4c8eb75486:/lisp/url/url-misc.el diff --git a/lisp/url/url-misc.el b/lisp/url/url-misc.el index 11771537ca..fa8176873a 100644 --- a/lisp/url/url-misc.el +++ b/lisp/url/url-misc.el @@ -1,16 +1,15 @@ ;;; url-misc.el --- Misc Uniform Resource Locator retrieval code -;; Copyright (C) 1996, 1997, 1998, 1999, 2002, 2004, -;; 2005, 2006, 2007 Free Software Foundation, Inc. +;; Copyright (C) 1996-1999, 2002, 2004-2012 Free Software Foundation, Inc. ;; Keywords: comm, data, processes ;; This file is part of GNU Emacs. -;; GNU Emacs is free software; you can redistribute it and/or modify +;; GNU Emacs is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 2, or (at your option) -;; any later version. +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -18,9 +17,7 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -;; Boston, MA 02110-1301, USA. +;; along with GNU Emacs. If not, see . ;;; Code: @@ -75,7 +72,7 @@ (let* ((type (intern (downcase (url-type url)))) (server (url-host url)) (name (url-user url)) - (port (url-port url))) + (port (number-to-string (url-port url)))) (url-do-terminal-emulator type server port name)) nil) @@ -117,5 +114,4 @@ (provide 'url-misc) -;;; arch-tag: 8c544e1b-d8bc-40a6-b319-f1f37fef65a0 ;;; url-misc.el ends here