emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] Make `org-contacts-message-complete-function' work with byte compilation
@ 2013-03-10  1:25 Frank Terbeck
  2013-03-10 23:24 ` Daimrod
  0 siblings, 1 reply; 6+ messages in thread
From: Frank Terbeck @ 2013-03-10  1:25 UTC (permalink / raw)
  To: emacs-orgmode

Without this patch (when I am _byte-compiling_ org-contacts.el), I am
getting error messages like this (when attempting address completion via
`completion-at-point' and `org-contacts-message-complete-function'):

    Symbol's function definition is void: remove-duplicates
    Symbol's function definition is void: some

With this patch, it seems to be working as expected.
---

Disclaimer: I'm no Elisp expert. Maybe this should be solved
differently.

 contrib/lisp/org-contacts.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/contrib/lisp/org-contacts.el b/contrib/lisp/org-contacts.el
index ab44a7b..ac5ff6d 100644
--- a/contrib/lisp/org-contacts.el
+++ b/contrib/lisp/org-contacts.el
@@ -36,10 +36,8 @@
 ;;
 ;;; Code:
 
-(eval-when-compile
-  (require 'cl))
-
 (eval-and-compile
+  (require 'cl)
   (require 'org))
 (require 'gnus-util)
 (require 'gnus-art)
-- 
1.8.2.rc1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-03-11 15:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-10  1:25 [PATCH] Make `org-contacts-message-complete-function' work with byte compilation Frank Terbeck
2013-03-10 23:24 ` Daimrod
2013-03-11  6:48   ` Achim Gratz
2013-03-11  9:21     ` Daimrod
2013-03-11 13:48       ` Frank Terbeck
2013-03-11 15:55       ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).