From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Girard Subject: [PATCH 1/2] Simplify org-clocktable-indent-string. Date: Sun, 1 Apr 2012 01:59:26 +0200 Message-ID: <1333238367-27755-1-git-send-email-girard.nicolas@gmail.com> References: <80k421mf5q.fsf@somewhere.org> Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE8DB-0004SH-K0 for emacs-orgmode@gnu.org; Sat, 31 Mar 2012 20:00:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SE8D9-0006pd-4s for emacs-orgmode@gnu.org; Sat, 31 Mar 2012 20:00:01 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:57974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE8D8-0006mq-SA for emacs-orgmode@gnu.org; Sat, 31 Mar 2012 19:59:59 -0400 Received: by wibhj13 with SMTP id hj13so1210840wib.12 for ; Sat, 31 Mar 2012 16:59:56 -0700 (PDT) In-Reply-To: <80k421mf5q.fsf@somewhere.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Nicolas Girard --- lisp/org-clock.el | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 591f59c..be66ce6 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -2342,11 +2342,7 @@ from the dynamic block definition." (defun org-clocktable-indent-string (level) (if (= level 1) "" - (let ((str "\\__")) - (while (> level 2) - (setq level (1- level) - str (concat str "___"))) - (concat str " ")))) + (concat "\\" (make-string (* 2 (1- level)) ?_ ) " "))) (defun org-clocktable-steps (params) "Step through the range to make a number of clock tables." -- 1.7.8.rc1