aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-12-02 02:18:43 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-12-02 02:18:43 +0000
commite5ebab3f99537b2dab0a7264f7e280564fdd6e6b (patch)
tree283b403f7b3f038b8c35da4aaf964c30193eccb7
parentf800936f58d13d8de97eab4b57d3965256482e38 (diff)
Header Commentary to sx-compose
-rw-r--r--sx-compose.el10
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)