Commits

duyanning committed ecfa75e

refactor

  • Participants
  • Parent commits f833fff

Comments (0)

Files changed (3)

 @="Edit with Emacs"
 
 [HKEY_CLASSES_ROOT\*\shell\Emacs\command]
-@="\"F:\\emacs-latest\\bin\\emacsclientw\" -n -a \"F:\\emacs-latest\\bin\\runemacs.exe\"  \"%1\""
+@="\"F:\\emacs\\bin\\emacsclientw\" -n -a \"F:\\emacs\\bin\\runemacs.exe\"  \"%1\""
 
 
 ; עĘÍÓáֺĹ
 ;;;; 一次性的设置(以configure打头)
 (defun configure-org-mode ()
   (when (file-exists-p org-path)
-    (add-to-list 'load-path (concat org-path "lisp")))
+    (add-to-list 'load-path (concat org-path "lisp"))
+    (add-to-list 'load-path (concat org-path "contrib/lisp")))
   (setq org-replace-disputed-keys t)
   (when (file-exists-p org-path)
     (require 'org-install))
 
-  ;; The following lines are always needed.  Choose your own keys.
-  ;;(global-set-key "\C-cl" 'org-store-link)
-  ;;(global-set-key "\C-ca" 'org-agenda)
-  ;;(global-set-key "\C-cb" 'org-iswitchb)
-  (global-font-lock-mode 1)
+  (global-set-key "\C-cl" 'org-store-link)
+  (global-set-key "\C-cc" 'org-capture)
+  (global-set-key "\C-ca" 'org-agenda)
+  (global-set-key "\C-cb" 'org-iswitchb)
 
   ;; Setting up Remember for Org
   (org-remember-insinuate)
   ;; Your init file should contain only one such instance.
   ;; If there is more than one, they won't work right.
  '(column-number-mode t)
+ '(org-agenda-files (quote ("f:/SAE/myemacs/1/index.org")))
  '(show-paren-mode t))
 (custom-set-faces
   ;; custom-set-faces was added by Custom.
 }
 
 ################ emacs ################
-make-link "..\emacs-latest" $emacs_dir
+make-link "..\emacs" $emacs_dir