summary refs log tree commit diff stats
path: root/lisp/+tempo.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/+tempo.el')
-rw-r--r--lisp/+tempo.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/+tempo.el b/lisp/+tempo.el index 2324665..2c81e54 100644 --- a/lisp/+tempo.el +++ b/lisp/+tempo.el
@@ -1,6 +1,7 @@
1;;; +tempo.el --- easier tempo definition -*- lexical-binding: t -*- 1;;; +tempo.el --- easier tempo definition -*- lexical-binding: t -*-
2 2
3(require 'tempo) 3(require 'tempo)
4(declare-function derived-mode-abbrev-table-name "tempo")
4 5
5;; TODO: I need to figure out where this function goes. 6;; TODO: I need to figure out where this function goes.
6(defun delete2 (list &rest elems) 7(defun delete2 (list &rest elems)
@@ -35,7 +36,7 @@ under MODE's abbrev-table. If ABBREV isn't given, TAG will be used."
35 (elements (delete2 elements :mode :abbrev :taglist))) 36 (elements (delete2 elements :mode :abbrev :taglist)))
36 `(let ((,template (tempo-define-template ,tag 37 `(let ((,template (tempo-define-template ,tag
37 ',elements 38 ',elements
38 ,tag 39 ,(or abbrev tag)
39 ,doc 40 ,doc
40 ,taglist))) 41 ,taglist)))
41 (define-abbrev ,table ,tag "" ,template :system t) 42 (define-abbrev ,table ,tag "" ,template :system t)