Re: [O] [patch] Don't show trailing colon in agenda custom command desc

2019-02-22 Thread Carlos Pita
> Applied, with some refactoring. Please double check I didn't fumble it.

I looked at the code and tested it a bit and seems to be ok. Thanks!



Re: [O] [patch] Don't show trailing colon in agenda custom command desc

2019-02-22 Thread Nicolas Goaziou
Hello,

Carlos Pita  writes:

> here is a simple patch to avoid showing ugly trailing colons in custom
> agenda commands when no matcher was specified (for example, in the
> case of alltodo).
>
> Best regards
> --
> Carlos
>
> From 4125d3ff9e4f26c3346b847288cad3e69a38da23 Mon Sep 17 00:00:00 2001
> From: memeplex 
> Date: Fri, 22 Feb 2019 00:32:58 -0300
> Subject: [PATCH] org-agenda: don't show trailing color if no matcher
>
> * lisp/org-agenda.el (org-agenda-get-restriction-and-command):
>   when no matcher was specified there is no point in showing
>   a trailing colon (and space).

Applied, with some refactoring. Please double check I didn't fumble it.

Thank you.

Regards,

-- 
Nicolas Goaziou