Created
October 12, 2012 02:32
-
-
Save guehara/3877006 to your computer and use it in GitHub Desktop.
emacs-xcode-document-viewer patch for Xcode 4.5
This file contains hidden or 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
--- 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 () |
This file contains hidden or 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
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