Skip to content

Instantly share code, notes, and snippets.

@gtuckerkellogg
Created February 23, 2012 03:51
Show Gist options
  • Save gtuckerkellogg/1889929 to your computer and use it in GitHub Desktop.
Save gtuckerkellogg/1889929 to your computer and use it in GitHub Desktop.
AppleScript editing continuation lines
; 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