Show
Ignore:
Timestamp:
2006年07月16日 08時36分52秒 (2 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lisp/emulation/cua-base.el

    r4091 r4111  
    306306  :group 'cua) 
    307307 
     308(defcustom cua-delete-selection t 
     309  "*If non-nil, typed text replaces text in the active selection." 
     310  :type '(choice (const :tag "Disabled" nil) 
     311                 (other :tag "Enabled" t)) 
     312  :group 'cua) 
     313 
    308314(defcustom cua-keep-region-after-copy nil 
    309315  "If non-nil, don't deselect the region after copying." 
    310316  :type 'boolean 
     317  :group 'cua) 
     318 
     319(defcustom cua-toggle-set-mark t 
     320  "*In non-nil, the `cua-set-mark' command toggles the mark." 
     321  :type '(choice (const :tag "Disabled" nil) 
     322                 (other :tag "Enabled" t)) 
    311323  :group 'cua) 
    312324 
     
    392404Must be set prior to enabling CUA." 
    393405  :type '(choice (const :tag "Meta key" meta) 
    394                  (const :tag "Hyper key" hyper ) 
     406                 (const :tag "Alt key" alt) 
     407                 (const :tag "Hyper key" hyper) 
    395408                 (const :tag "Super key" super)) 
    396409  :group 'cua) 
     
    784797  "Replace the active region with the character you type." 
    785798  (interactive) 
    786   (let ((not-empty (cua-delete-region))) 
     799  (let ((not-empty (and cua-delete-selection (cua-delete-region)))) 
    787800    (unless (eq this-original-command this-command) 
    788801      (let ((overwrite-mode 
     
    10021015    (setq this-command 'pop-to-mark-command) 
    10031016    (pop-to-mark-command)) 
    1004    (mark-active 
     1017   ((and cua-toggle-set-mark mark-active) 
    10051018    (cua--deactivate) 
    10061019    (message "Mark Cleared"))