Created
May 29, 2009 07:18
-
-
Save takano32/119826 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun twittering-update-status-with-region (start end) | |
"twittering-mode: update status with region" | |
(interactive "r") | |
(twittering-update-status-if-not-blank (buffer-substring start end))) | |
(defun my-twittering-update-status () | |
"twittering-mode: my update status" | |
(interactive) | |
(if mark-active | |
(twittering-update-status-with-region (region-beginning) (region-end)) | |
(twittering-update-status-interactive)) | |
) | |
(global-set-key "\C-c\C-t" 'my-twittering-update-status) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment