(file-local-copy): Remove optional BUFFER argument
authorGerd Moellmann <gerd@gnu.org>
Wed, 10 Nov 1999 12:11:55 +0000 (12:11 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 10 Nov 1999 12:11:55 +0000 (12:11 +0000)
because that's not used by anything.

lisp/ChangeLog
lisp/files.el

index 12b0f72..9165cb9 100644 (file)
@@ -1,5 +1,8 @@
 1999-11-10  Gerd Moellmann  <gerd@gnu.org>
 
+       * files.el (file-local-copy): Remove optional BUFFER argument
+       because that's not used by anything.
+
        * mail/mh-comp.el (mh-smail-batch): If TO is nil, use "" as
        to-address.
 
index 731f123..3c3aeed 100644 (file)
@@ -501,10 +501,12 @@ This is an interface to the function `load'."
   (interactive "sLoad library: ")
   (load library))
 
-(defun file-local-copy (file &optional buffer)
+(defun file-local-copy (file)
   "Copy the file FILE into a temporary file on this machine.
 Returns the name of the local copy, or nil, if FILE is directly
 accessible."
+  ;; This formerly had an optional BUFFER argument that wasn't used by
+  ;; anything.
   (let ((handler (find-file-name-handler file 'file-local-copy)))
     (if handler
        (funcall handler 'file-local-copy file)