From 89464e137f66cfeb144938692479bf95e9187a4d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 24 Dec 2010 17:32:45 +0100 Subject: [PATCH] Fix ??? in category * org.el (org-refresh-category-properties): Do not set ??? as default category if no default. Signed-off-by: Julien Danjou --- lisp/org.el | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 863a80b..5fb2ba4 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -8154,8 +8154,7 @@ call CMD." ((null org-category) (if buffer-file-name (file-name-sans-extension - (file-name-nondirectory buffer-file-name)) - "???")) + (file-name-nondirectory buffer-file-name)))) ((symbolp org-category) (symbol-name org-category)) (t org-category))) beg end cat pos optionp) -- 1.7.2.3