Created
February 23, 2012 03:51
-
-
Save gtuckerkellogg/1889929 to your computer and use it in GitHub Desktop.
AppleScript editing continuation lines
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
; AppleScript is just intolerable, but | |
; at least I can now add continuation lines properly | |
; | |
(require 'applescript-mode) | |
(defun as-insert-continuation-line () | |
"Insert the weird AppleScript continuation character" | |
(interactive) | |
(ucs-insert "00C2" 1 nil) | |
(newline) | |
(indent-according-to-mode) | |
) | |
(define-key as-mode-map [(meta return)] 'as-insert-continuation-line) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment