From b759805cca39914843222c25a63854c7694d7e80 Mon Sep 17 00:00:00 2001 From: Achim Gratz Date: Fri, 7 Dec 2012 21:05:52 +0100 Subject: [PATCH 2/4] ob-python: specify defcustom parameters * lisp/ob-python.el (org-babel-python-hline-to, org-babel-python-None-to): Specify customize group as 'org-babel and widget type as 'string. --- lisp/ob-python.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/ob-python.el b/lisp/ob-python.el index 4d94ecf..e393d1d 100644 --- a/lisp/ob-python.el +++ b/lisp/ob-python.el @@ -53,10 +53,14 @@ (defvar org-babel-python-mode (if (featurep 'xemacs) 'python-mode 'python) (defvar org-src-preserve-indentation) (defcustom org-babel-python-hline-to "None" - "Replace hlines in incoming tables with this when translating to python.") + "Replace hlines in incoming tables with this when translating to python." + :group 'org-babel + :type 'string) (defcustom org-babel-python-None-to 'hline - "Replace 'None' in python tables with this before returning.") + "Replace 'None' in python tables with this before returning." + :group 'org-babel + :type 'string) (defun org-babel-execute:python (body params) "Execute a block of Python code with Babel. -- 1.8.0.1