Created
February 1, 2016 09:08
-
-
Save pmiddend/6f301d5bcc7f1f0d1153 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (setq org-clock-heading-function | |
| (lambda () | |
| (let ((str (nth 4 (org-heading-components))) (lenlimit 20)) | |
| (if (> (length str) lenlimit) | |
| (substring (replace-regexp-in-string | |
| "\\[\\[.*?\\]\\[\\(.*?\\)\\]\\]" "\\1" | |
| str) 0 lenlimit) | |
| (concat "" str))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment