diff options
| author | Paul Eggert | 2017-03-19 12:34:03 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-03-19 12:34:03 -0700 |
| commit | 90f5282e20df79dedaa9d231a108f9a91222eca7 (patch) | |
| tree | 4b2f648d7209c93fc845c68beccd27b98a51fdac /doc/lispref | |
| parent | c4fca5cee27e3bf399ad23bf42317bffcc80f160 (diff) | |
| parent | ec4226d81074751c105264a3a3383c48d0a05e41 (diff) | |
| download | emacs-90f5282e20df79dedaa9d231a108f9a91222eca7.tar.gz emacs-90f5282e20df79dedaa9d231a108f9a91222eca7.zip | |
Merge from origin/emacs-25
ec4226d * lisp/woman.el (woman): Fix docstring prefix arg description.
2b774fa Mention "editor" in Emacs man page header
ae60d0c Document problems with nerd-fonts
2fdb5a9 ; Details about pinning Emacs to w32 task bar
5c3105e * doc/lispref/modes.texi (Derived Modes): Make example more i...
4c51ef4 Clarify what is the "cursor"
8303c32 ; * etc/NEWS: Copyedits.
3f7493e ; Fix a typo in comment
c54cf8d Improve commentary in lisp.h
8b92f86 ; * admin/make-tarball.txt: Cross-reference admin/release-pro...
0ba9932 Disable native completion for ipython (Bug#25067)
38fc456 Fix a typo in ada-mode manual
00e75ba ; * src/coding.c (Fencode_coding_region): Fix a typo in the d...
a541c21 Clarify documentation of 'bufferpos-to-filepos' and 'filepos-...
# Conflicts:
# etc/NEWS
# etc/PROBLEMS
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/modes.texi | 13 | ||||
| -rw-r--r-- | doc/lispref/nonascii.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/windows.texi | 10 |
3 files changed, 15 insertions, 10 deletions
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 88e8e811a65..2e7d769f93d 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -820,14 +820,15 @@ which in turn may have been changed in a mode hook. | |||
| 820 | Here is a hypothetical example: | 820 | Here is a hypothetical example: |
| 821 | 821 | ||
| 822 | @example | 822 | @example |
| 823 | (defvar hypertext-mode-map | ||
| 824 | (let ((map (make-sparse-keymap))) | ||
| 825 | (define-key map [down-mouse-3] 'do-hyper-link) | ||
| 826 | map)) | ||
| 827 | |||
| 823 | (define-derived-mode hypertext-mode | 828 | (define-derived-mode hypertext-mode |
| 824 | text-mode "Hypertext" | 829 | text-mode "Hypertext" |
| 825 | "Major mode for hypertext. | 830 | "Major mode for hypertext." |
| 826 | \\@{hypertext-mode-map@}" | 831 | (setq-local case-fold-search nil)) |
| 827 | (setq case-fold-search nil)) | ||
| 828 | |||
| 829 | (define-key hypertext-mode-map | ||
| 830 | [down-mouse-3] 'do-hyper-link) | ||
| 831 | @end example | 832 | @end example |
| 832 | 833 | ||
| 833 | Do not write an @code{interactive} spec in the definition; | 834 | Do not write an @code{interactive} spec in the definition; |
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi index ee4bef6e498..05c08c6dbe5 100644 --- a/doc/lispref/nonascii.texi +++ b/doc/lispref/nonascii.texi | |||
| @@ -142,7 +142,7 @@ be one of the following: | |||
| 142 | @table @code | 142 | @table @code |
| 143 | @item exact | 143 | @item exact |
| 144 | The result must be accurate. The function may need to encode and | 144 | The result must be accurate. The function may need to encode and |
| 145 | decode a large part of the buffer. | 145 | decode a large part of the buffer, which is expensive and can be slow. |
| 146 | @item approximate | 146 | @item approximate |
| 147 | The value can be an approximation. The function may avoid expensive | 147 | The value can be an approximation. The function may avoid expensive |
| 148 | processing and return an inexact result. | 148 | processing and return an inexact result. |
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index affa28c9202..a4f8400170e 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi | |||
| @@ -3532,9 +3532,13 @@ point and the buffer's point always move together; they remain equal. | |||
| 3532 | @end itemize | 3532 | @end itemize |
| 3533 | 3533 | ||
| 3534 | @cindex cursor | 3534 | @cindex cursor |
| 3535 | As far as the user is concerned, point is where the cursor is, and | 3535 | Emacs displays the cursor, by default as a rectangular block, in |
| 3536 | when the user switches to another buffer, the cursor jumps to the | 3536 | each window at the position of that window's point. When the user |
| 3537 | position of point in that buffer. | 3537 | switches to another buffer in a window, Emacs moves that window's |
| 3538 | cursor to where point is in that buffer. If the exact position of | ||
| 3539 | point is hidden behind some display element, such as a display string | ||
| 3540 | or an image, Emacs displays the cursor immediately before or after | ||
| 3541 | that display element. | ||
| 3538 | 3542 | ||
| 3539 | @defun window-point &optional window | 3543 | @defun window-point &optional window |
| 3540 | This function returns the current position of point in @var{window}. | 3544 | This function returns the current position of point in @var{window}. |