From efa71e12f5d6b0db97daa3149209e792209553d2 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 20 Apr 2014 00:14:12 -0700 Subject: [PATCH] Add main macro. --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index 55f29a99..4d2e8cab 100644 --- a/init.el +++ b/init.el @@ -215,7 +215,7 @@ Return a list of installed packages or nil for every package not installed." ;; Macros (fset 'ipdb "import ipdb; ipdb.set_trace()") - +(fset 'main "if __name__ == '__main__':") ;; Miscellaneous (global-set-key (kbd "C-x C-b") 'buffer-menu) (global-set-key (kbd "C-x w") 'whitespace-mode)