diff options
-rw-r--r-- | sx-compose.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sx-compose.el b/sx-compose.el index e1f6874..ee4f774 100644 --- a/sx-compose.el +++ b/sx-compose.el @@ -107,6 +107,9 @@ with the `sx-compose-create' function. (define-key sx-compose-mode-map "\C-c\C-c" #'sx-compose-send) (define-key sx-compose-mode-map "\C-c\C-k" #'sx-compose-quit) +(sx--define-conditional-key + sx-compose-mode-map "\C-c\C-q" #'sx-compose-insert-tags + (ignore-errors (string= "Title: " (substring (buffer-string) 0 7)))) (defun sx-compose-send () "Finish composing current buffer and send it. |