mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08:00
Avoid some uses of obsolete function interactive-p
* doc/lispref/help.texi (Accessing Documentation): * lisp/cedet/data-debug.el: * lisp/emacs-lisp/edebug.el (edebug-wrap-def-body): * lisp/simple.el (append-next-kill): * test/manual/cedet/cedet-utests.el (cedet-utest, pulse-test): * test/manual/cedet/semantic-tests.el (semantic-lex-spp-write-utest) (semantic-symref-test-count-hits-in-tag): Use 'called-interactively-p' instead of obsolete function 'interactive-p'.
This commit is contained in:
parent
326fdb9ec0
commit
bc5da2c3fb
5 changed files with 12 additions and 11 deletions
|
|
@ -38,7 +38,7 @@
|
|||
;; "Calculate something complicated at point, and return it."
|
||||
;; (interactive) ;; function not normally interactive
|
||||
;; (let ((stuff (do-stuff)))
|
||||
;; (when (interactive-p)
|
||||
;; (when (called-interactively-p 'interactive)
|
||||
;; (data-debug-show-stuff stuff "myStuff"))
|
||||
;; stuff))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue