GNU bug report logs - #25765
[PATCH] Avoid errors when flyspell-generic-check-word-predicate is a lambda.

Previous Next

Package: emacs;

Reported by: Hong Xu <hong <at> topbug.net>

Date: Thu, 16 Feb 2017 21:31:01 UTC

Severity: minor

Tags: fixed, patch

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #8 received at 25765 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Hong Xu <hong <at> topbug.net>
Cc: 25765 <at> debbugs.gnu.org
Subject: Re: bug#25765: [PATCH] Avoid errors when
 flyspell-generic-check-word-predicate is a lambda.
Date: Thu, 16 Feb 2017 16:36:48 -0500
On Thu, Feb 16, 2017 at 4:30 PM, Hong Xu <hong <at> topbug.net> wrote:
> -             (and (fboundp flyspell-generic-check-word-predicate)
> -                  (not (funcall flyspell-generic-check-word-predicate))))
> +              (and (fboundp 'flyspell-generic-check-word-predicate)
> +                   (not (funcall flyspell-generic-check-word-predicate))))

> -           (fboundp flyspell-generic-check-word-predicate)
> +           (fboundp 'flyspell-generic-check-word-predicate)

I don't think that's the right fix, rather the fboundp should be
replaced with functionp.




This bug report was last modified 8 years and 96 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.