diff options
| author | Juanma Barranquero | 2010-08-05 23:31:03 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2010-08-05 23:31:03 +0200 |
| commit | f6b55526bd58545b480a2a79d944971be67d9c07 (patch) | |
| tree | b7759866b8da75ae40ed3c8d8e0b6a1213b55658 | |
| parent | c613687be4a79df9fe2e3ef12b4fe3fecd07a591 (diff) | |
| download | emacs-f6b55526bd58545b480a2a79d944971be67d9c07.tar.gz emacs-f6b55526bd58545b480a2a79d944971be67d9c07.zip | |
* emulation/pc-select.el: Fix typos in docstrings.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/emulation/pc-select.el | 12 |
2 files changed, 12 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cd9e142f8e7..168af7c4abe 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-08-05 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * emulation/pc-select.el (pc-selection-mode-hook) | ||
| 4 | (copy-region-as-kill-nomark, beginning-of-buffer-mark) | ||
| 5 | (pc-selection-mode): Fix typos in docstrings. | ||
| 6 | |||
| 1 | 2010-08-04 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2010-08-04 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 8 | ||
| 3 | * simple.el (exchange-dot-and-mark): Mark obsolete, finally. | 9 | * simple.el (exchange-dot-and-mark): Mark obsolete, finally. |
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 | ||