Created
October 8, 2009 22:24
-
-
Save elim/205482 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- anything-config.el.orig 2009-10-09 07:14:33.000000000 +0900 | |
+++ anything-config.el 2009-10-09 07:17:32.000000000 +0900 | |
@@ -1611,10 +1611,11 @@ | |
;; W3m bookmark | |
-(eval-when-compile (require 'w3m-bookmark nil t)) | |
-(unless (and (require 'w3m nil t) | |
- (require 'w3m-bookmark nil t)) | |
- (defvar w3m-bookmark-file "~/.w3m/bookmark.html")) | |
+(when (executable-find "w3m") | |
+ (eval-when-compile (require 'w3m-bookmark nil t)) | |
+ (unless (and (require 'w3m nil t) | |
+ (require 'w3m-bookmark nil t)) | |
+ (defvar w3m-bookmark-file "~/.w3m/bookmark.html"))) | |
;; (defvar anything-w3m-bookmarks-regexp ">[^><]+[^</a>]+[a-z)0-9]+") | |
(defface anything-w3m-bookmarks-face '((t (:foreground "cyan1" :underline t))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment