소스 검색

lisp/org-compat.el (org-defvaralias): Fix declare form

* lisp/org-compat.el (org-defvaralias): Fix declare form.
Bastien Guerry 12 년 전
부모
커밋
f9224ea36a
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      lisp/org-compat.el

+ 1 - 2
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))