From e5ebab3f99537b2dab0a7264f7e280564fdd6e6b Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Tue, 2 Dec 2014 02:18:43 +0000 Subject: Header Commentary to sx-compose --- sx-compose.el | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'sx-compose.el') 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) -- cgit v1.2.3