Skip to content

Instantly share code, notes, and snippets.

@mori-dev
Created October 4, 2009 08:55
Show Gist options
  • Save mori-dev/201265 to your computer and use it in GitHub Desktop.
Save mori-dev/201265 to your computer and use it in GitHub Desktop.
#name : defun エラー処理つき
# --
(defun ${1:関数名} ($2)
""
(condition-case err
$0
(error (message "error: %s" (error-message-string err)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment