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

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

bug#17446: 24.4.50; What is the situation around `called-interactively-p


From: Drew Adams
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))





reply via email to

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