From b641c9c0a0b97a217ad29898482e1b4cb6bc6cbd Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 8 Feb 2017 23:36:49 -0500 Subject: org-sort-heading-ignoring-articles: Ignore heading priority --- lisp/km-org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/km-org.el b/lisp/km-org.el index f51fc4e..919f0cd 100644 --- a/lisp/km-org.el +++ b/lisp/km-org.el @@ -244,7 +244,7 @@ See `km/org-maybe-sort' for details of property value format." "Sort alphabetically, but ignore any leading articles." (let* ((ignored-words '("a" "an" "the")) (heading (org-no-properties - (org-get-heading 'no-tags 'no-todo))) + (org-get-heading 'no-tags 'no-todo 'no-priority))) (heading-words (split-string heading))) (when (member (downcase (car heading-words)) ignored-words) -- cgit v1.2.3