summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2010-01-15 18:07:40 +0100
committerCarsten Dominik <carsten.dominik@gmail.com>2010-01-15 18:07:40 +0100
commita4384ac49df1eb5c21dceeddc2c3811b83d5d7d3 (patch)
tree512dff46d875f8a8b4c654ec647bafa50ae60166
parent795404915829f59b4a7cced2d6309a0aaae0795d (diff)
downloadorg-mode-a4384ac49df1eb5c21dceeddc2c3811b83d5d7d3.tar.gz
Improve test for operating system in org-ctags.el
-rwxr-xr-xlisp/ChangeLog2
-rw-r--r--lisp/org-ctags.el8
2 files changed, 6 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e47906f..9b36a01 100755
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2010-01-15 Carsten Dominik <carsten.dominik@gmail.com>
+ * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
+
* org-latex.el (org-export-latex-treat-backslash-char): Do not by
accident protect a character that is before a backslash.
diff --git a/lisp/org-ctags.el b/lisp/org-ctags.el
index 8ec8335..297aad8 100644
--- a/lisp/org-ctags.el
+++ b/lisp/org-ctags.el
@@ -132,14 +132,14 @@ Format is: /REGEXP/TAGNAME/FLAGS,TAGTYPE/
See the ctags documentation for more information.")
(defcustom org-ctags-path-to-ctags
- (case (operating-system)
- (windows "ctags.exe")
- (unix "ctags-exuberant"))
+ (case system-type
+ (windows-nt "ctags.exe")
+ (darwin "ctags-exuberant")
+ (t "ctags-exuberant"))
"Full path to the ctags executable file."
:group 'org-ctags
:type 'file)
-
(defcustom org-ctags-open-link-functions
'(org-ctags-find-tag
org-ctags-ask-rebuild-tags-file-then-find-tag