Subject: Re: bug#32056: Small patch

From: Noam Postavsky <[email-masked]>
Date: Thu, 05 Jul 2018 07:13:43 -0400

retitle 32056 too many arguments for abort-if-file-too-large
tags 32056 + notabug
quit

Robert Pluim <[email-masked]> writes:
>>
>> Further investigation revealed that in line 2158 in files.el contains a
>> call to abort-if-file-too-large with an extra argument that cause the
>> find-file command to fail.
>>
>
> The signature of that function is:
>
> (defun abort-if-file-too-large (size op-type filename &optional offer-raw)
>
> so the 4th argument should be ok. I suspect you have your own
> definition of abort-if-file-too-large somewhere.

Specifically, the 4th argument was added recently in [1: 416ba369c4] for
both the function definition and caller.

[1: 416ba369c4]: 2018-06-07 22:05:33 -0700
  Offer to open large files without modes
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=416ba369c4ee2592d226eef68aeb4ad35ffea61d