mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-04 14:32:26 +00:00
yasnippet.el (yas--called-interactively-p): Remove.
It's unused since "fix: more idiomatic elisp..." 29 Aug 2013
(13d87aa3c0).
This commit is contained in:
10
yasnippet.el
10
yasnippet.el
@@ -1390,16 +1390,6 @@ them all in `yas--menu-table'"
|
|||||||
:visible (yas--show-menu-p ',mode)))
|
:visible (yas--show-menu-p ',mode)))
|
||||||
menu-keymap))
|
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)))
|
|
||||||
|
|
||||||
|
|
||||||
;;; Template-related and snippet loading functions
|
;;; Template-related and snippet loading functions
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user