Changeset 4111 for trunk/lisp/emulation/cua-base.el
- Timestamp:
- 2006年07月16日 08時36分52秒 (2 years ago)
- Files:
-
- trunk/lisp/emulation/cua-base.el (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/emulation/cua-base.el
r4091 r4111 306 306 :group 'cua) 307 307 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 308 314 (defcustom cua-keep-region-after-copy nil 309 315 "If non-nil, don't deselect the region after copying." 310 316 :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)) 311 323 :group 'cua) 312 324 … … 392 404 Must be set prior to enabling CUA." 393 405 :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) 395 408 (const :tag "Super key" super)) 396 409 :group 'cua) … … 784 797 "Replace the active region with the character you type." 785 798 (interactive) 786 (let ((not-empty ( cua-delete-region)))799 (let ((not-empty (and cua-delete-selection (cua-delete-region)))) 787 800 (unless (eq this-original-command this-command) 788 801 (let ((overwrite-mode … … 1002 1015 (setq this-command 'pop-to-mark-command) 1003 1016 (pop-to-mark-command)) 1004 ( mark-active1017 ((and cua-toggle-set-mark mark-active) 1005 1018 (cua--deactivate) 1006 1019 (message "Mark Cleared"))
