Skip to content

Instantly share code, notes, and snippets.

Embed
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:
-\"/Developer/Platforms/iPhoneOS.platform/Developer/Documentation/DocSets/com.apple.adc.documentation.AppleiPhone3_1.iPhoneLibrary.docset\"")
+\"/Developer/Platforms/iPhoneOS.platform/Developer/Documentation/DocSets/com.apple.adc.documentation.AppleiPhone6.0.iPhoneLibrary.docset\"")
(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/Xcode.app/Contents/Developer/usr/bin/docsetutil") "/Applications/Xcode.app/Contents/Developer/usr/bin/docsetutil")
(error "docsetutil command is not found. Perhaps you dont have Xcode man.")))
(defun* xcdoc:search-command (query docset)
(defun xcdoc:search-source ()
emacs-xcode-document-viewer
https://github.com/roupam/emacs-xcode-document-viewer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment