Commit 460fe4a1 authored by Charles A. Roelli's avatar Charles A. Roelli

; Doc fixes

* lisp/progmodes/xref.el (xref-file-location)
(xref-backend-apropos):
* etc/NEWS (Lisp Changes in Emacs 26.1):
* doc/emacs/msdos.texi (Windows Keyboard):
* lisp/vc/vc.el (vc-print-branch-log):
* src/buffer.c (word-wrap): Doc additions and fixes.
parent 41adf328
......@@ -580,7 +580,7 @@ pressed the @key{Shift} key while typing the non-character key.
@vindex w32-enable-caps-lock
If the variable @code{w32-enable-caps-lock} is set to a @code{nil}
value, the @key{CapsLock} key produces the symbol @code{capslock}
instead of the shifted version of they keys. The default value is
instead of the shifted version of typed keys. The default value is
@code{t}.
@vindex w32-enable-num-lock
......
......@@ -1692,7 +1692,7 @@ job of signaling list cycles instead of looping indefinitely.
+++
** The new functions 'make-nearby-temp-file' and 'temporary-file-directory'
can be used for creation of temporary files of remote or mounted directories.
can be used for creation of temporary files on remote or mounted directories.
+++
** On GNU platforms when operating on a local file, 'file-attributes'
......@@ -1720,7 +1720,7 @@ operating recursively and when some other process deletes the directory
or its files before 'delete-directory' gets to them.
+++
*** New error type 'user-search-failed' like 'search-failed' but
** New error type 'user-search-failed' like 'search-failed' but
avoids debugger like 'user-error'.
+++
......
......@@ -102,7 +102,7 @@ This is typically the filename.")
;;;; Commonly needed location classes are defined here:
;; FIXME: might be useful to have an optional "hint" i.e. a string to
;; search for in case the line number is sightly out of date.
;; search for in case the line number is slightly out of date.
(defclass xref-file-location (xref-location)
((file :type string :initarg :file)
(line :type fixnum :initarg :line :reader xref-location-line)
......@@ -254,8 +254,7 @@ find a search tool; by default, this uses \"find | grep\" in the
(project-external-roots pr)))))
(cl-defgeneric xref-backend-apropos (backend pattern)
"Find all symbols that match PATTERN.
PATTERN is a regexp")
"Find all symbols that match regexp PATTERN.")
(cl-defgeneric xref-backend-identifier-at-point (_backend)
"Return the relevant identifier at point.
......
......@@ -2377,6 +2377,7 @@ When called interactively with a prefix argument, prompt for LIMIT."
;;;###autoload
(defun vc-print-branch-log (branch)
"Show the change log for BRANCH in a window."
(interactive
(list
(vc-read-revision "Branch to log: ")))
......
......@@ -5716,7 +5716,7 @@ word-wrapping, you might want to reduce the value of
in narrower windows.
Instead of setting this variable directly, most users should use
Visual Line mode . Visual Line mode, when enabled, sets `word-wrap'
Visual Line mode. Visual Line mode, when enabled, sets `word-wrap'
to t, and additionally redefines simple editing commands to act on
visual lines rather than logical lines. See the documentation of
`visual-line-mode'. */);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment