org-agenda: remove useless concat

* lisp/org-agenda.el (org-agenda-highlight-todo): Remove useless `concat'.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2011-03-17 17:07:10 +01:00
parent b6fc03b70c
commit 9216453a38
1 changed files with 1 additions and 1 deletions

View File

@ -5592,7 +5592,7 @@ could bind the variable in the options section of a custom command.")
(goto-char (match-beginning 1))
(insert (format org-agenda-todo-keyword-format s)))))
(let ((pl (text-property-any 0 (length x) 'org-heading t x)))
(setq re (concat (get-text-property 0 'org-todo-regexp x)))
(setq re (get-text-property 0 'org-todo-regexp x))
(when (and re
(equal (string-match (concat "\\(\\.*\\)" re "\\( +\\)")
x (or pl 0)) pl))