summaryrefslogtreecommitdiff
path: root/lisp/obsolete/otodo-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/obsolete/otodo-mode.el')
-rw-r--r--lisp/obsolete/otodo-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/obsolete/otodo-mode.el b/lisp/obsolete/otodo-mode.el
index 2a4af290b6b..6aada0755ef 100644
--- a/lisp/obsolete/otodo-mode.el
+++ b/lisp/obsolete/otodo-mode.el
@@ -923,7 +923,8 @@ If INCLUDE-SEP is non-nil, return point after the separator."
;;;###autoload
(define-derived-mode todo-mode nil "TODO"
"Major mode for editing TODO lists."
- (easy-menu-add todo-menu))
+ (when (featurep 'xemacs)
+ (easy-menu-add todo-menu)))
(with-suppressed-warnings ((lexical date entry))
(defvar date)