.emacs-my
changeset 1397 d4182b28cdc1
parent 1396 33de58ab0d11
child 1402 b1a1c92a7f55
--- a/.emacs-my	Wed May 18 14:05:30 2016 +0300
+++ b/.emacs-my	Wed May 18 14:23:47 2016 +0300
@@ -1444,10 +1444,12 @@
 ;(autoload 'LaTeX-preview-setup "preview")
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-(message "Info")
+(message "info")
 
 (unless (getenv "INFOPATH")
-  (setenv "INFOPATH" (expand-file-name "~/usr/share/info:")))
+  (if (not (eq window-system 'w32))
+      (setenv "INFOPATH" (expand-file-name "~/usr/share/info:"))
+    (setenv "INFOPATH" (concat (expand-file-name "~/usr/share/info") ":/usr/share/info:"))))
 
 ;; Assume that cygwin-mount already activated.
 (when (featurep 'cygwin-mount)
@@ -1458,9 +1460,6 @@
     (info-initialize)
     ))
 
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-(message "info-lookup")
-
 ;; Info index nodes for automake under Debian.
 (defvar my-fix-for-automake-info-lookup
   '(("(automake-1.11)Macro Index" nil