emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] scratch/merge-cedet-tests 9679584 296/316: Remove compatib


From: Edward John Steere
Subject: [Emacs-diffs] scratch/merge-cedet-tests 9679584 296/316: Remove compatibility function `cedet-called-interactively-p'.
Date: Fri, 27 Jan 2017 20:03:48 +0000 (UTC)

branch: scratch/merge-cedet-tests
commit 967958408ad65e80bbf68c7482daef09983321ff
Author: David Engster <address@hidden>
Commit: Edward John Steere <address@hidden>

    Remove compatibility function `cedet-called-interactively-p'.
    
    * lisp/cedet/cedet-compat.el (cedet-called-interactively-p): Remove.
      It is no longer needed since our minimum version is now 23.2, which
      has `called-interactively-p'.  Also, remove corresponding unit
      tests.
    
    * tests/cedet-utests.el (cedet-utest-test-alist): Remove cedet-compat
      unit tests.
    
    * All files: Replace `cedet-called-interactively-p' with
      `called-interactively-p', providing 'any as argument where it was
      still missing.
---
 test/manual/cedet/cedet/semantic/ia-utest.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/manual/cedet/cedet/semantic/ia-utest.el 
b/test/manual/cedet/cedet/semantic/ia-utest.el
index 7fdbeab..6611102 100644
--- a/test/manual/cedet/cedet/semantic/ia-utest.el
+++ b/test/manual/cedet/cedet/semantic/ia-utest.el
@@ -544,7 +544,7 @@ tag that contains point, and return that."
        target (lambda (start end prefix) (setq Lcount (1+ Lcount)))
        (semantic-tag-start tag)
        (semantic-tag-end tag))
-      (when (cedet-called-interactively-p)
+      (when (called-interactively-p 'any)
        (message "Found %d occurances of %s in %.2f seconds"
                 Lcount (semantic-tag-name target)
                 (semantic-elapsed-time start (current-time))))



reply via email to

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