From d906a98269d4ed1c31deaba65440de3002fde308 Mon Sep 17 00:00:00 2001 From: ueno Date: Fri, 18 Nov 2005 06:15:26 +0000 Subject: [PATCH] Fixed. --- lisp/riece-develop.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/riece-develop.el b/lisp/riece-develop.el index 66b2157..87d4de3 100644 --- a/lisp/riece-develop.el +++ b/lisp/riece-develop.el @@ -1,6 +1,9 @@ (defun riece-insert-struct-template (prefix struct) (interactive "sPrefix: sStruct: ") + (if (and prefix + (not (string-match "-\\'" prefix))) + (setq prefix (concat prefix "-"))) (let (attributes optional-attributes name -- 1.7.10.4