LoginSignup
0

More than 5 years have passed since last update.

Emacsで拡張を書く

Last updated at Posted at 2018-01-25

Emacsの機能を拡張しようと思って.elファイルを作成するといつもEmacsにここの書き方がだめなんだよ!
って怒られてたんでどうしたらいいのか調べました。

これを書きたい

;; hello.el
(message "hello world")

↑を表示したいとしたらEmacsが怒る

どうしたら?

;; hello.el
;;; hello.el --- write something here!
;;; Commentary:
;;; code:

(message "hello world")

;;; hello.el ends here

↑ここまで書くと怒られない

なんでここまできっちりしてるんだって気持ちになった
きっと大事なことなんだろう

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0