diff options
| author | Kenichi Handa | 2010-08-06 17:15:12 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2010-08-06 17:15:12 +0900 |
| commit | f21a9669a44e1358e1f3164e4e1edd4e7000714e (patch) | |
| tree | bcae9e777ef350c1d3f5b1f33cd053fc546cba69 | |
| parent | 7a84eee5b745ad577d414158716ffe2ee487a117 (diff) | |
| parent | f6b55526bd58545b480a2a79d944971be67d9c07 (diff) | |
| download | emacs-f21a9669a44e1358e1f3164e4e1edd4e7000714e.tar.gz emacs-f21a9669a44e1358e1f3164e4e1edd4e7000714e.zip | |
merge trunk
| -rw-r--r-- | lisp/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/emulation/pc-select.el | 12 | ||||
| -rw-r--r-- | lisp/simple.el | 3 |
3 files changed, 18 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1b2f0ebd99e..2097f6c1973 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -9,6 +9,12 @@ | |||
| 9 | charset by adding `charset' text property. Improve the whole | 9 | charset by adding `charset' text property. Improve the whole |
| 10 | algorithm. | 10 | algorithm. |
| 11 | 11 | ||
| 12 | 2010-08-05 Juanma Barranquero <lekktu@gmail.com> | ||
| 13 | |||
| 14 | * emulation/pc-select.el (pc-selection-mode-hook) | ||
| 15 | (copy-region-as-kill-nomark, beginning-of-buffer-mark) | ||
| 16 | (pc-selection-mode): Fix typos in docstrings. | ||
| 17 | |||
| 12 | 2010-08-04 Kenichi Handa <handa@m17n.org> | 18 | 2010-08-04 Kenichi Handa <handa@m17n.org> |
| 13 | 19 | ||
| 14 | * language/cyrillic.el: Don't add "microsoft-cp1251" to | 20 | * language/cyrillic.el: Don't add "microsoft-cp1251" to |
| @@ -26,6 +32,10 @@ | |||
| 26 | (ctext-no-compositions): Doc fix. | 32 | (ctext-no-compositions): Doc fix. |
| 27 | (compound-text-with-extensions): Doc fix. | 33 | (compound-text-with-extensions): Doc fix. |
| 28 | 34 | ||
| 35 | 2010-08-04 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 36 | |||
| 37 | * simple.el (exchange-dot-and-mark): Mark obsolete, finally. | ||
| 38 | |||
| 29 | 2010-08-03 Juanma Barranquero <lekktu@gmail.com> | 39 | 2010-08-03 Juanma Barranquero <lekktu@gmail.com> |
| 30 | 40 | ||
| 31 | * progmodes/which-func.el (which-func-format): Split help-echo text | 41 | * progmodes/which-func.el (which-func-format): Split help-echo text |
diff --git a/lisp/emulation/pc-select.el b/lisp/emulation/pc-select.el index db47ee4276b..22983f49694 100644 --- a/lisp/emulation/pc-select.el +++ b/lisp/emulation/pc-select.el | |||
| @@ -108,7 +108,7 @@ This gives mostly Emacs-like behavior with only the selection keys enabled." | |||
| 108 | :group 'pc-select) | 108 | :group 'pc-select) |
| 109 | 109 | ||
| 110 | (defcustom pc-selection-mode-hook nil | 110 | (defcustom pc-selection-mode-hook nil |
| 111 | "The hook to run when pc-selection-mode is toggled." | 111 | "The hook to run when PC Selection mode is toggled." |
| 112 | :type 'hook | 112 | :type 'hook |
| 113 | :group 'pc-select) | 113 | :group 'pc-select) |
| 114 | 114 | ||
| @@ -259,7 +259,7 @@ association.") | |||
| 259 | (provide 'pc-select) | 259 | (provide 'pc-select) |
| 260 | 260 | ||
| 261 | (defun copy-region-as-kill-nomark (beg end) | 261 | (defun copy-region-as-kill-nomark (beg end) |
| 262 | "Save the region as if killed; but don't kill it; deactivate mark. | 262 | "Save the region as if killed, but don't kill it; deactivate mark. |
| 263 | If `interprogram-cut-function' is non-nil, also save the text for a window | 263 | If `interprogram-cut-function' is non-nil, also save the text for a window |
| 264 | system cut and paste. | 264 | system cut and paste. |
| 265 | 265 | ||
| @@ -567,7 +567,7 @@ Don't use this command in Lisp programs! | |||
| 567 | ;;;;;;;;;;;;;;;;;;;; | 567 | ;;;;;;;;;;;;;;;;;;;; |
| 568 | 568 | ||
| 569 | (defun backward-char-mark (&optional arg) | 569 | (defun backward-char-mark (&optional arg) |
| 570 | "Ensure mark is active; move point left ARG characters (right if ARG negative). | 570 | "Ensure mark is active; move point left ARG characters (right if ARG negative). |
| 571 | On attempt to pass beginning or end of buffer, stop and signal error." | 571 | On attempt to pass beginning or end of buffer, stop and signal error." |
| 572 | (interactive "p") | 572 | (interactive "p") |
| 573 | (pc-select-ensure-mark) | 573 | (pc-select-ensure-mark) |
| @@ -631,7 +631,7 @@ If scan reaches end of buffer, stop there without error." | |||
| 631 | 631 | ||
| 632 | 632 | ||
| 633 | (defun scroll-up-mark (&optional arg) | 633 | (defun scroll-up-mark (&optional arg) |
| 634 | "Ensure mark is active; scroll upward ARG lines; or near full screen if no ARG. | 634 | "Ensure mark is active; scroll upward ARG lines; or near full screen if no ARG. |
| 635 | A near full screen is `next-screen-context-lines' less than a full screen. | 635 | A near full screen is `next-screen-context-lines' less than a full screen. |
| 636 | Negative ARG means scroll downward. | 636 | Negative ARG means scroll downward. |
| 637 | When calling from a program, supply a number as argument or nil. | 637 | When calling from a program, supply a number as argument or nil. |
| @@ -652,7 +652,7 @@ If the buffer is narrowed, this command uses the beginning and size | |||
| 652 | of the accessible part of the buffer. | 652 | of the accessible part of the buffer. |
| 653 | 653 | ||
| 654 | Don't use this command in Lisp programs! | 654 | Don't use this command in Lisp programs! |
| 655 | \(goto-char (p\oint-min)) is faster and avoids clobbering the mark." | 655 | \(goto-char (point-min)) is faster and avoids clobbering the mark." |
| 656 | (interactive "P") | 656 | (interactive "P") |
| 657 | (pc-select-ensure-mark) | 657 | (pc-select-ensure-mark) |
| 658 | (let ((size (- (point-max) (point-min)))) | 658 | (let ((size (- (point-max) (point-min)))) |
| @@ -839,7 +839,7 @@ If the value is non-nil, call the function MODE with an argument of | |||
| 839 | 839 | ||
| 840 | ;;;###autoload | 840 | ;;;###autoload |
| 841 | (define-minor-mode pc-selection-mode | 841 | (define-minor-mode pc-selection-mode |
| 842 | "Change mark behavior to emulate Motif, MAC or MS-Windows cut and paste style. | 842 | "Change mark behavior to emulate Motif, Mac or MS-Windows cut and paste style. |
| 843 | 843 | ||
| 844 | This mode enables Delete Selection mode and Transient Mark mode. | 844 | This mode enables Delete Selection mode and Transient Mark mode. |
| 845 | 845 | ||
diff --git a/lisp/simple.el b/lisp/simple.el index 6c8725a813f..d0c27656e41 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -3819,7 +3819,8 @@ Does not set point. Does nothing if mark ring is empty." | |||
| 3819 | (setq mark-ring (cdr mark-ring))) | 3819 | (setq mark-ring (cdr mark-ring))) |
| 3820 | (deactivate-mark)) | 3820 | (deactivate-mark)) |
| 3821 | 3821 | ||
| 3822 | (defalias 'exchange-dot-and-mark 'exchange-point-and-mark) | 3822 | (define-obsolete-function-alias |
| 3823 | 'exchange-dot-and-mark 'exchange-point-and-mark "23.3") | ||
| 3823 | (defun exchange-point-and-mark (&optional arg) | 3824 | (defun exchange-point-and-mark (&optional arg) |
| 3824 | "Put the mark where point is now, and point where the mark is now. | 3825 | "Put the mark where point is now, and point where the mark is now. |
| 3825 | This command works even when the mark is not active, | 3826 | This command works even when the mark is not active, |