Version Info
Emacs 版別
Emacs の版別に ~/.emacs を書きたい時には、
名前 | 種類 | 値の例 |
---|
(emacs-version) | 関数 |
"GNU Emacs 21.1.1 (powerpc--netbsd, X toolkit)
of 2002-01-18 on u"
| emacs-version | 変数 |
"21.1.1"
| emacs-major-version |
21
| emacs-minor-version |
1
|
などが使える。
そのようなことは面倒という時には、
永野さんの
exec-if-bound, defun-add-hook, load-safe
を使うのが便利。
|