|
@@ -46,9 +46,15 @@
|
|
|
(if (or (> emacs-major-version 23)
|
|
|
(and (>= emacs-major-version 23)
|
|
|
(>= emacs-minor-version 2)))
|
|
|
- (called-interactively-p ,kind)
|
|
|
+ (with-no-warnings (called-interactively-p ,kind)) ;; defined with no argument in <=23.1
|
|
|
(interactive-p))))
|
|
|
|
|
|
+(if (or (<= emacs-major-version 23)
|
|
|
+ (and (<= emacs-major-version 23)
|
|
|
+ (< emacs-minor-version 2)))
|
|
|
+ (defmacro with-silent-modifications
|
|
|
+ (org-unmodified)))
|
|
|
+
|
|
|
(defmacro org-bound-and-true-p (var)
|
|
|
"Return the value of symbol VAR if it is bound, else nil."
|
|
|
`(and (boundp (quote ,var)) ,var))
|