.emacs-my
changeset 1687 3f69332472cb
parent 1686 bedbd1cd366d
child 1688 0bab53c47567
equal deleted inserted replaced
1686:bedbd1cd366d 1687:3f69332472cb
   336 ;; [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
   336 ;; [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
   337 ;; ; CapsLock (3a,00) => LWin (5b,e0); LWin (5b,e0) => Apps (5d,e0)
   337 ;; ; CapsLock (3a,00) => LWin (5b,e0); LWin (5b,e0) => Apps (5d,e0)
   338 ;; "Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,5b,e0,3a,00,5d,e0,5b,e0,00,00,00,00
   338 ;; "Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,5b,e0,3a,00,5d,e0,5b,e0,00,00,00,00
   339 (when (eq window-system 'w32)
   339 (when (eq window-system 'w32)
   340   (setq w32-apps-modifier 'super))
   340   (setq w32-apps-modifier 'super))
   341 
       
   342 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
       
   343 (message "package, elpa")
       
   344 
       
   345 (eval-when 'compile (require 'package nil t))
       
   346 
       
   347 ;; (setq package-enable-at-startup t)
       
   348 (when (fboundp 'package-initialize)
       
   349   (package-initialize))
       
   350 
       
   351 (setq
       
   352  package-archives
       
   353  '(("gnu" . "http://elpa.gnu.org/packages/")
       
   354    ;; ("marmalade" . "http://marmalade-repo.org/packages/")
       
   355    ("melpa-stbl" . "https://stable.melpa.org/packages/")
       
   356    ("melpa" . "http://melpa.org/packages/"))
       
   357  package-archive-priorities
       
   358  '(("gnu" . 10)
       
   359    ("melpa-stbl" . 5)
       
   360    ("melpa" . 0)) )
       
   361 
   341 
   362 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   342 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   363 (message "appearance")
   343 (message "appearance")
   364 
   344 
   365 ;; To maximize frame on full screen, not work with Windows Emacs 21.4.
   345 ;; To maximize frame on full screen, not work with Windows Emacs 21.4.