]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove compatibility function `cedet-called-interactively-p'.
authorDavid Engster <dengste@eml.cc>
Sun, 28 Jul 2013 11:24:40 +0000 (13:24 +0200)
committerEdward John Steere <edward.steere@gmail.com>
Wed, 25 Jan 2017 18:14:56 +0000 (20:14 +0200)
* 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

index 7fdbeab77fd7d0edfb32cdec431190a57cceb3a0..6611102d1eea0a591e984bc59a58f64b1debc22a 100644 (file)
@@ -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))))