Browse files

if XEmacs then define ido-mode

  • Loading branch information...
1 parent 37b0f01 commit 07c60ebe268427113bad4b1346e09bf52f4c1eec Eric Schulte committed Apr 22, 2009
Showing with 4 additions and 1 deletion.
  1. +4 −1 jump.el
@@ -65,11 +65,14 @@
;;; Code:
(if (featurep 'xemacs)
- (add-to-list 'load-path (file-name-as-directory (or load-file-name buffer-file-name))))
+ (add-to-list 'load-path (file-name-as-directory (or load-file-name buffer-file-name))))
(require 'which-func)
(require 'findr)
(require 'inflections)
+;; ido-mode must be defined (only an issue with Xemacs)
+(unless (fboundp 'ido-mode) (defvar ido-mode nil))
(defvar jump-ignore-file-regexp ;; TODO actually start using this
"regexp for the find shell command to ignore undesirable files")

0 comments on commit 07c60eb

Please sign in to comment.