mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-21 04:17:35 +00:00
* lisp/subr.el (called-interactively-p): Fix for native code bug#40694.
This commit is contained in:
parent
c120dbc73a
commit
3ac3ba22be
1 changed files with 1 additions and 1 deletions
|
|
@ -5131,7 +5131,7 @@ command is called from a keyboard macro?"
|
|||
;; Now `frame' should be "the function from which we were called".
|
||||
(pcase (cons frame nextframe)
|
||||
;; No subr calls `interactive-p', so we can rule that out.
|
||||
(`((,_ ,(pred (lambda (f) (subrp (indirect-function f)))) . ,_) . ,_) nil)
|
||||
(`((,_ ,(pred (lambda (f) (subr-primitive-p (indirect-function f)))) . ,_) . ,_) nil)
|
||||
;; In case #<subr funcall-interactively> without going through the
|
||||
;; `funcall-interactively' symbol (bug#3984).
|
||||
(`(,_ . (t ,(pred (lambda (f)
|
||||
|
|
|
|||
Loading…
Reference in a new issue