From: Daiki Ueno Date: Fri, 18 Nov 2005 06:15:26 +0000 (+0000) Subject: Fixed. X-Git-Url: https://cgit.sxemacs.org/?p=riece;a=commitdiff_plain;h=9181c3ff5a7cef076422e387edebd8a66b2e769e;ds=sidebyside 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