bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26761: 25.1; Emacs freezes when scrolling with mouse wheel


From: Noam Postavsky
Subject: bug#26761: 25.1; Emacs freezes when scrolling with mouse wheel
Date: Thu, 4 May 2017 07:48:04 -0400

On Thu, May 4, 2017 at 4:56 AM, Christoph Groth
<christoph@grothesque.org> wrote:
>
> When I start the newly compiled Emacs, it complains about the use of "some"
> in my init.el:
> Symbol's function definition is void: some

You need to (require 'cl) to use some (possibly in earlier Emacs some
other thing you load happens to (require 'cl) so it seems to work
without that).
Better would be to (require 'cl-lib) and use cl-some.

>
> (defun my-nnimap-configure (name
>                            &optional lists
>                            &optional extra-split-methods-before
>                            &optional extra-split-methods-after
>                            &optional extra-vars)

There should be only one &optional in a lambda list, Emacs 26 got more
strict about this. The correct definition would be

    (defun my-nnimap-configure (name
                                &optional lists
                                extra-split-methods-before
                                extra-split-methods-after
                                extra-vars)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]