Skip to content

Instantly share code, notes, and snippets.

Created October 12, 2012 02:32
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
emacs-xcode-document-viewer patch for Xcode 4.5
--- xcode-document-viewer.el.orig 2012-10-12 11:25:14.000000000 +0900
+++ xcode-document-viewer.el 2012-10-12 11:19:19.000000000 +0900
@@ -48,7 +48,7 @@
(defcustom xcdoc:document-path nil
"please set docset full path like:
(defcustom xcdoc:open-w3m-other-buffer nil
@@ -71,7 +71,7 @@
(defun xcdoc:docsetutil-command ()
(or (executable-find "docsetutil")
- (and (file-executable-p "/Developer/usr/bin/docsetutil") "/Developer/usr/bin/docsetutil")
+ (and (file-executable-p "/Applications/") "/Applications/")
(error "docsetutil command is not found. Perhaps you dont have Xcode man.")))
(defun* xcdoc:search-command (query docset)
(defun xcdoc:search-source ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment