summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-03-15 12:06:44 +0100
committerBastien Guerry <bzg@altern.org>2013-03-15 12:06:44 +0100
commitf9224ea36a5b99903a4cbbd2968ac7e877ee6764 (patch)
tree2e1ae56c13d3b8d03d6b58cc882f28cb103b4c54
parent450878fb215dcb3b4f940eaf6dd724080c3c4300 (diff)
downloadorg-mode-f9224ea36a5b99903a4cbbd2968ac7e877ee6764.tar.gz
lisp/org-compat.el (org-defvaralias): Fix declare form
* lisp/org-compat.el (org-defvaralias): Fix declare form.
-rw-r--r--lisp/org-compat.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/org-compat.el b/lisp/org-compat.el
index 88177c2..a0c9fd2 100644
--- a/lisp/org-compat.el
+++ b/lisp/org-compat.el
@@ -116,10 +116,9 @@ any other entries, and any resulting duplicates will be removed entirely."
(defun org-defvaralias (new-alias base-variable &optional docstring)
"Compatibility function for defvaralias.
Don't do the aliasing when `defvaralias' is not bound."
- (declare ((indent 1)))
+ (declare (indent 1))
(when (fboundp 'defvaralias)
(defvaralias new-alias base-variable docstring)))
-(put 'org-defvaralias 'lisp-indent-function 1)
(eval-and-compile
(when (and (not (boundp 'user-emacs-directory))