trick the compiler

* lisp/org-macs.el (org-without-partial-completion): Avoid calling by
  name a function unknown to the compiler but explicitly checked by
  program logic.
This commit is contained in:
Eric Schulte 2011-06-14 13:06:03 -07:00
parent a034526448
commit c83cfcc243
1 changed files with 2 additions and 2 deletions

View File

@ -116,9 +116,9 @@ Also, do not record undo information."
partial-completion-mode)))
(unwind-protect
(progn
(if pc-mode (partial-completion-mode -1))
(when pc-mode (funcall pc-mode -1))
,@body)
(if pc-mode (partial-completion-mode 1)))))
(when pc-mode (funcall pc-mode 1)))))
(defmacro org-maybe-intangible (props)
"Add '(intangible t) to PROPS if Emacs version is earlier than Emacs 22.