.emacs-my
changeset 145 b1fdfc950089
parent 144 41a4cd881b9e
child 146 506d2883199f
--- a/.emacs-my	Sat Jun 27 15:30:22 2009 +0300
+++ b/.emacs-my	Mon Jun 29 11:53:35 2009 +0300
@@ -139,12 +139,15 @@
 ;; ----------------------------------------------------------------------
 ;; highlight selected text
 
-(transient-mark-mode 1)        ; 1/-1, when the mark is active, the region is highlighted.
+;; 1/-1, when the mark is active, the region is highlighted.
+(transient-mark-mode 1)
 (delete-selection-mode 1)               ; 1/-1
 
 ;; Order of next item is important.
-(setq pc-select-selection-keys-only t)  ; To avoid some key bindings as F6, etc.
-(pc-selection-mode)
+(require 'pc-select)
+;; To avoid some key bindings as F6, etc. Must set before 'pc-selection-mode' invoke.
+(setq pc-select-selection-keys-only t)
+(pc-selection-mode 1)
 
 ;; ----------------------------------------------------------------------
 ;; line