From eaa724404b5d5eb4e989b5736c65148875960d3d Mon Sep 17 00:00:00 2001 From: David Maus Date: Sat, 2 Jul 2011 16:51:55 +0200 Subject: [PATCH] Toggle partial-completion-mode only if it is turned on * org-macs.el (org-without-partial-completion): Toggle partial-completion-mode only if it is turned on. --- lisp/org-macs.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org-macs.el b/lisp/org-macs.el index cefdae2f4..6d5286691 100644 --- a/lisp/org-macs.el +++ b/lisp/org-macs.el @@ -113,6 +113,7 @@ Also, do not record undo information." (defmacro org-without-partial-completion (&rest body) `(if (and (boundp 'partial-completion-mode) + partial-completion-mode (fboundp 'partial-completion-mode)) (unwind-protect (progn