summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gratz <Stromeko@Stromeko.DE>2012-05-16 20:21:50 +0200
committerBastien Guerry <bzg@altern.org>2012-05-18 07:45:46 +0200
commitb3b77694576d3a9590640b5a6ebcd39e721fd3cb (patch)
tree10276d01fad27e202072b25c91f9e0cd188df5b6
parentb4693de937b391678d4000d0ec6a083c5eac5096 (diff)
downloadorg-mode-b3b77694576d3a9590640b5a6ebcd39e721fd3cb.tar.gz
guard invocation of org-mode and suppress warning from byte-compiler
* lisp/org.el: Add with-not-warnings around call of (org-fixup).
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 3ed14d7..835e422 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -214,7 +214,7 @@ identifier."
(defun org-git-version () "N/A !!check installation!!")
(and (load (concat (org-find-library-dir "org") "../UTILITIES/org-fixup.el")
'noerror 'nomessage 'nosuffix)
- (org-fixup)))
+ (with-no-warnings (org-fixup))))
;;;###autoload
(defun org-version (&optional here)
"Show the org-mode version in the echo area.