help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

multiple inserts within skeletons


From: Oliver Lohmann
Subject: multiple inserts within skeletons
Date: 28 Apr 2003 21:29:28 +0200

hello,

i want to repeat my inputs for @param with the follwing construct
(only an example) until i take a key or any other trigger
to exit the input ring:

(defun myComment(s1 s2)
  (interactive "sbriefDescr: \nsMethodParam: ")
  (skeleton-insert'(nil
                    >"/**" \n               
                    >"* " s1 \n
                    >"* " \n
                    >"* @param " s2 \n
;;-->               ;; more params here please...
                    >"* " \n
                    >"* " \n
                    >"* @author " user-full-name \n
                    >"* @note " user-mail-address \n
                    >"* @date " (insert-date) \n
                    >"*/" \n _ )))


thanks for your help!


kind regards
oliver lohmann





reply via email to

[Prev in Thread] Current Thread [Next in Thread]