From: ueno Date: Fri, 18 Nov 2005 06:15:26 +0000 (+0000) Subject: Fixed. X-Git-Tag: riece-2_0_2~21 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=d906a98269d4ed1c31deaba65440de3002fde308;p=elisp%2Friece.git Fixed. --- 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