Backout 9f9d6f836095
Origin MSG: Don't load pc-selection-mode for Emacs 24. This mode is obsolete.
--- a/.emacs-my Sun Nov 06 01:03:16 2011 +0200
+++ b/.emacs-my Mon Nov 07 01:13:30 2011 +0200
@@ -542,16 +542,14 @@
(transient-mark-mode 1)
(delete-selection-mode 1) ; 1/-1
-(when (<= emacs-major-version 23)
- ;; Order of next items is important, (assignment must done before pc-selection-mode enabled).
- (require 'pc-select)
- (setq pc-select-selection-keys-only t) ; To avoid some key bindings as F6, etc.
- (setq pc-select-meta-moves-sexps t)
- (cond
- ((= emacs-major-version 21) (pc-selection-mode))
- ((>= emacs-major-version 22) (pc-selection-mode 1))
- )
- )
+;; Order of next items is important, (assignment must done before pc-selection-mode enabled).
+(require 'pc-select)
+(setq pc-select-selection-keys-only t) ; To avoid some key bindings as F6, etc.
+(setq pc-select-meta-moves-sexps t)
+(cond
+ ((= emacs-major-version 21) (pc-selection-mode))
+ ((>= emacs-major-version 22) (pc-selection-mode 1))
+ )
(when (eq window-system 'x)
(setq x-select-enable-clipboard t) ; for Emacs 21.2.1 and newer