[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19324: 25.0.50; add-function and nil
From: |
Leo Liu |
Subject: |
bug#19324: 25.0.50; add-function and nil |
Date: |
Thu, 11 Dec 2014 08:57:33 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (CentOS Linux 7 (Core)) |
On 2014-12-10 14:54 -0500, Stefan Monnier wrote:
> - Make sure all the functions you add use either :override or :around
> and check that the orig is not nil before calling it.
Yes, I had expected this to work and obviously not so filed this bug.
Otherwise it is not a bad workaround.
Go to a buffer in text mode where the default
eldoc-documentation-function is nil and eval
(add-function :around (local 'eldoc-documentation-function)
(lambda (orig) (or (and orig (funcall orig)) (ignore))))
Move around to get the error.
Leo
- bug#19324: 25.0.50; add-function and nil, Leo Liu, 2014/12/08
- bug#19324: 25.0.50; add-function and nil, Stefan Monnier, 2014/12/10
- bug#19324: 25.0.50; add-function and nil,
Leo Liu <=
- bug#19324: 25.0.50; add-function and nil, Stefan Monnier, 2014/12/10
- bug#19324: 25.0.50; add-function and nil, Leo Liu, 2014/12/10
- bug#19324: 25.0.50; add-function and nil, Stefan Monnier, 2014/12/11
- bug#19324: 25.0.50; add-function and nil, Leo Liu, 2014/12/11
- bug#19324: 25.0.50; add-function and nil, Stefan Monnier, 2014/12/11
- bug#19324: 25.0.50; add-function and nil, Leo Liu, 2014/12/11