diff options
| author | Kim F. Storm | 2003-03-31 21:49:09 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2003-03-31 21:49:09 +0000 |
| commit | de02e8b450c3bde0fa1725fe1598ab5d58e97ba9 (patch) | |
| tree | eaa56f92b5b0728bd263bdb3261a5dfd772b5f60 | |
| parent | ce92443fd01834e04ac95ed670e38d4dba2473df (diff) | |
| download | emacs-de02e8b450c3bde0fa1725fe1598ab5d58e97ba9.tar.gz emacs-de02e8b450c3bde0fa1725fe1598ab5d58e97ba9.zip | |
(pop-global-mark-quick-repeat): Remove defcustom.
(set-mark-command): Unconditionally repeat pop-global-mark without
C-x prefix. Fix doc.
| -rw-r--r-- | lisp/simple.el | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 166ba3134dd..a5fead803d9 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -2424,15 +2424,6 @@ Start discarding off end if gets this big." | |||
| 2424 | :type 'integer | 2424 | :type 'integer |
| 2425 | :group 'editing-basics) | 2425 | :group 'editing-basics) |
| 2426 | 2426 | ||
| 2427 | (defcustom pop-global-mark-quick-repeat nil | ||
| 2428 | "*When non-nil, `pop-global-mark' can be repeated without the prefix key. | ||
| 2429 | E.g. \\[pop-global-mark] \\[set-mark-command] \\[set-mark-command] \ | ||
| 2430 | pops to the third mark off the global mark ring. | ||
| 2431 | To cycle through the marks in the target buffer, \ | ||
| 2432 | use \\[universal-argument] \\[set-mark-command] \\[set-mark-command]..." | ||
| 2433 | :type 'boolean | ||
| 2434 | :group 'editing-basics) | ||
| 2435 | |||
| 2436 | (defun pop-to-mark-command () | 2427 | (defun pop-to-mark-command () |
| 2437 | "Jump to mark, and pop a new position for mark off the ring | 2428 | "Jump to mark, and pop a new position for mark off the ring |
| 2438 | \(does not affect global mark ring\)." | 2429 | \(does not affect global mark ring\)." |
| @@ -2467,9 +2458,8 @@ for mark off the local mark ring \(this does not affect the global | |||
| 2467 | mark ring\). Use \\[pop-global-mark] to jump to a mark off the global | 2458 | mark ring\). Use \\[pop-global-mark] to jump to a mark off the global |
| 2468 | mark ring \(see `pop-global-mark'\). | 2459 | mark ring \(see `pop-global-mark'\). |
| 2469 | 2460 | ||
| 2470 | Repeating the \\[set-mark-command] command without the prefix jumps to the next | 2461 | Repeating the \\[set-mark-command] command without the prefix jumps to |
| 2471 | position off the local mark ring. See `pop-global-mark-quick-repeat' if you | 2462 | the next position off the local (or global) mark ring. |
| 2472 | want the same effect for \\[pop-global-mark]. | ||
| 2473 | 2463 | ||
| 2474 | With a double \\[universal-argument] prefix argument, e.g. \\[universal-argument] \ | 2464 | With a double \\[universal-argument] prefix argument, e.g. \\[universal-argument] \ |
| 2475 | \\[universal-argument] \\[set-mark-command], unconditionally | 2465 | \\[universal-argument] \\[set-mark-command], unconditionally |
| @@ -2490,8 +2480,7 @@ purposes. See the documentation of `set-mark' for more information." | |||
| 2490 | ((eq last-command 'pop-to-mark-command) | 2480 | ((eq last-command 'pop-to-mark-command) |
| 2491 | (setq this-command 'pop-to-mark-command) | 2481 | (setq this-command 'pop-to-mark-command) |
| 2492 | (pop-to-mark-command)) | 2482 | (pop-to-mark-command)) |
| 2493 | ((and pop-global-mark-quick-repeat | 2483 | ((and (eq last-command 'pop-global-mark) (not arg)) |
| 2494 | (eq last-command 'pop-global-mark) (not arg)) | ||
| 2495 | (setq this-command 'pop-global-mark) | 2484 | (setq this-command 'pop-global-mark) |
| 2496 | (pop-global-mark)) | 2485 | (pop-global-mark)) |
| 2497 | (arg | 2486 | (arg |