From 1af5a8a7c8c71b38d53a90257108cf4245a19456 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 15 Jul 2013 17:42:13 +0200 Subject: [PATCH] org-pcomplete: Fix completion for block boundaries * lisp/org-pcomplete.el (pcomplete/org-mode/file-option): Remove spurious colons from block boundaries. --- lisp/org-pcomplete.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org-pcomplete.el b/lisp/org-pcomplete.el index 43b5f46fe..402fa4877 100644 --- a/lisp/org-pcomplete.el +++ b/lisp/org-pcomplete.el @@ -155,8 +155,8 @@ When completing for #+STARTUP, for example, this function returns (let (block-names) (mapc (lambda (block-name) (let ((name (car block-name))) - (push (format "END_%s: " name) block-names) - (push (format "BEGIN_%s: " name) block-names) + (push (format "END_%s " name) block-names) + (push (format "BEGIN_%s " name) block-names) (push (format "ATTR_%s: " name) block-names))) org-element-block-name-alist) block-names)