]> code.delx.au - gnu-emacs-elpa/commitdiff
yasnippet.el (yas--called-interactively-p): Remove.
authorNoam Postavsky <npostavs@users.sourceforge.net>
Thu, 10 Dec 2015 01:11:31 +0000 (20:11 -0500)
committerNoam Postavsky <npostavs@users.sourceforge.net>
Thu, 10 Dec 2015 01:11:31 +0000 (20:11 -0500)
It's unused since "fix: more idiomatic elisp..." 29 Aug 2013
(13d87aa3c0b0289ed918bab545d2b423974688a5).

yasnippet.el

index b670aeab2130dd96a32284ed8d25998f4858800d..9e63968a9c1bddf3dc06b01d7143a76cd17d9d6c 100644 (file)
@@ -1390,16 +1390,6 @@ them all in `yas--menu-table'"
                     :visible (yas--show-menu-p ',mode)))
     menu-keymap))
 
-
-(defmacro yas--called-interactively-p (&optional kind)
-  "A backward-compatible version of `called-interactively-p'.
-
-Optional KIND is as documented at `called-interactively-p'
-in GNU Emacs 24.1 or higher."
-  (if (string< emacs-version "24.1")
-      '(called-interactively-p)
-    `(called-interactively-p ,kind)))
-
 \f
 ;;; Template-related and snippet loading functions