看板 Editor 關於我們 聯絡資訊
大家好,小弟今天練習寫elisp 的時候,在這個網站看到 以下的lisp 可以拿來問input (defun query-friends-phone (name age) "..." (interactive "sEnter friend's name: \nnEnter friend's age: ") (message "Name: %s, Age: %d" name age) ) 但是不知道 "..." 是作什麼用的 無奈 google 大神 不吃這樣的內容 所以只好厚著臉皮跑來問版上的大大們 原文: http://xahlee.org/emacs/elisp_idioms.html 請大家指教了 謝謝 ※ 引述《zjshang (zjshang)》之銘言: : 網址是: : http://xahlee.org/emacs/elisp.html : 作為開版的賀禮, 希望對大家有幫助. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.171.78.162
superGA:"..."是function的comment啦 符合這個格式的話 01/27 21:08
superGA:可以用<f1> f [RET] function_name 調出comment來看 01/27 21:09
superGA:or C-h f function name 01/27 21:10
superGA:or M-x describe-function .... 01/27 21:11
superGA:python也用類似的寫法 如果你學過就瞭了 01/27 21:15
kosinyj:哦 我了解了 非常感謝superGA大 ^^ 01/27 22:21