X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/a3e44e793796153ff1534be9c74fcab50b45de30..7823745acbe9b87eea2db4ef434e379fc903ec35:/lisp/net/tramp-uu.el diff --git a/lisp/net/tramp-uu.el b/lisp/net/tramp-uu.el index b4af01cec4..b3d84bb7bf 100644 --- a/lisp/net/tramp-uu.el +++ b/lisp/net/tramp-uu.el @@ -1,7 +1,6 @@ ;;; tramp-uu.el --- uuencode in Lisp -;; Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, -;; 2009, 2010, 2011 Free Software Foundation, Inc. +;; Copyright (C) 2002-2016 Free Software Foundation, Inc. ;; Author: Kai Großjohann ;; Keywords: comm, terminals @@ -29,11 +28,11 @@ ;;; Code: -(defvar tramp-uu-b64-alphabet +(defconst tramp-uu-b64-alphabet "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" "Mapping from base64-encoded character to the byte it represents.") -(defvar tramp-uu-b64-char-to-byte +(defconst tramp-uu-b64-char-to-byte (let ((i 0)) (mapcar (lambda (c) (prog1 @@ -56,7 +55,6 @@ ;; First we base64 encode the region, then we transmogrify that into ;; uu encoding. (let ((len (base64-encode-region beg end t)) - (padding 0) i c) (save-excursion (goto-char beg)