# HG changeset patch # User Oleksandr Gavenko # Date 1246265615 -10800 # Node ID b1fdfc95008920eff143af02351f2ddf55ac496a # Parent 41a4cd881b9e65fb152c12c95790acbb3539d0ec More correct code for pc-select. diff -r 41a4cd881b9e -r b1fdfc950089 .emacs-my --- 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