by shigemk2



Emacs array

囲って、arefで要素を取る (setq primes [2 3 5 7 11 13]) (aref primes 4) (aref "abcdefg" 1) Array Functions - GNU Emacs Lisp Reference Manual

show a message in emacs

insertを使う なお、文字列 (defun hello-world () (interactive) (insert "Hello, world!\n")) Hustler's Tutorial to Emacs Lisp

generate new empty buffer for emacs

空の新しいバッファを生成するアレ。 (defun xah-new-empty-buffer () "Create a new empty buffer. New buffer will be named “untitled” or “untitled<2>”, “untitled<3>”, etc. URL `' Version 20…