diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-02 02:18:43 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-02 02:18:43 +0000 |
commit | e5ebab3f99537b2dab0a7264f7e280564fdd6e6b (patch) | |
tree | 283b403f7b3f038b8c35da4aaf964c30193eccb7 | |
parent | f800936f58d13d8de97eab4b57d3965256482e38 (diff) |
Header Commentary to sx-compose
-rw-r--r-- | sx-compose.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sx-compose.el b/sx-compose.el index 273e02d..f5aef79 100644 --- a/sx-compose.el +++ b/sx-compose.el @@ -19,6 +19,16 @@ ;;; Commentary: +;; This file defines `sx-compose-mode' and its auxiliary functions and +;; variables. In order to use `sx-compose-mode', it is adamant that +;; the variable `sx-compose--send-function' be set. Otherwise it's +;; just a regular markdown buffer. +;; +;; In order to help avoid mistakes, there is the function +;; `sx-compose-create'. This is the preferred way of activating the +;; mode. It creates a buffer, activates the major mode, and sets the +;; `send-function' variable according to the arguments it is given. + ;;; Code: (require 'markdown-mode) |