From 296c4d7c09cf66b2a97e8871c5a903fda9d0919e Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 28 Oct 2022 19:43:06 -0500 Subject: uhhhhh --- lisp/+tempo.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/+tempo.el') 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 @@ ;;; +tempo.el --- easier tempo definition -*- lexical-binding: t -*- (require 'tempo) +(declare-function derived-mode-abbrev-table-name "tempo") ;; TODO: I need to figure out where this function goes. (defun delete2 (list &rest elems) @@ -35,7 +36,7 @@ under MODE's abbrev-table. If ABBREV isn't given, TAG will be used." (elements (delete2 elements :mode :abbrev :taglist))) `(let ((,template (tempo-define-template ,tag ',elements - ,tag + ,(or abbrev tag) ,doc ,taglist))) (define-abbrev ,table ,tag "" ,template :system t) -- cgit 1.4.1-21-gabe81