GNU bug report logs - #17446
24.4.50; What is the situation around `called-interactively-p'?

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Fri, 9 May 2014 12:31:01 UTC

Severity: wishlist

Found in version 24.4.50

Fixed in version 25.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>, 17446 <at> debbugs.gnu.org
Subject: bug#17446: 24.4.50; What is the situation around `called-interactively-p'?
Date: Fri, 9 May 2014 07:17:03 -0700 (PDT)
> this is what I did:
>   (defun icicle-repeat-complex-command--called-interactively-skip
    ...

Plus this code in `icicle-repeat-complex-command':
(if (> emacs-major-version 23)
    (unwind-protect
         (progn
          (add-hook
            'called-interactively-p-functions
            #'icicle-repeat-complex-command--called-interactively-skip)
          (eval newcmd))
      (remove-hook
       'called-interactively-p-functions
       #'icicle-repeat-complex-command--called-interactively-skip))
  (eval newcmd))




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

Previous Next


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