comparison lisp/emulation/cua-base.el @ 50382:9bf67e990ee1

(cua-set-mark): Unconditionally repeat pop-global-mark without C-x prefix. Fix doc.
author Kim F. Storm <storm@cua.dk>
date Mon, 31 Mar 2003 21:48:39 +0000
parents b7e98fe2a99a
children 0af2d4122c02
comparison
equal deleted inserted replaced
50381:39b47b31df7a 50382:9bf67e990ee1
876 global mark ring if last mark was set in another buffer. 876 global mark ring if last mark was set in another buffer.
877 877
878 With argument, jump to mark, and pop a new position for mark off 878 With argument, jump to mark, and pop a new position for mark off
879 the local mark ring \(this does not affect the global mark ring\). 879 the local mark ring \(this does not affect the global mark ring\).
880 Use \\[pop-global-mark] to jump to a mark off the global mark ring 880 Use \\[pop-global-mark] to jump to a mark off the global mark ring
881 \(see `pop-global-mark'\). Repeating the command without the prefix 881 \(see `pop-global-mark'\).
882 jumps to the next position off the local \(or global\) mark ring. 882
883 Repeating the command without the prefix jumps to the next position
884 off the local \(or global\) mark ring.
883 885
884 With a double \\[universal-argument] prefix argument, unconditionally set mark." 886 With a double \\[universal-argument] prefix argument, unconditionally set mark."
885 (interactive "P") 887 (interactive "P")
886 (cond 888 (cond
887 ((and (consp arg) (> (prefix-numeric-value arg) 4)) 889 ((and (consp arg) (> (prefix-numeric-value arg) 4))
888 (push-mark-command nil)) 890 (push-mark-command nil))
889 ((eq last-command 'pop-to-mark-command) 891 ((eq last-command 'pop-to-mark-command)
890 (setq this-command 'pop-to-mark-command) 892 (setq this-command 'pop-to-mark-command)
891 (pop-to-mark-command)) 893 (pop-to-mark-command))
892 ((and pop-global-mark-quick-repeat 894 ((and (eq last-command 'pop-global-mark) (not arg))
893 (eq last-command 'pop-global-mark) (not arg))
894 (setq this-command 'pop-global-mark) 895 (setq this-command 'pop-global-mark)
895 (pop-global-mark)) 896 (pop-global-mark))
896 (arg 897 (arg
897 (setq this-command 'pop-to-mark-command) 898 (setq this-command 'pop-to-mark-command)
898 (pop-to-mark-command)) 899 (pop-to-mark-command))