emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 460fe4a: ; Doc fixes


From: Charles A. Roelli
Subject: [Emacs-diffs] emacs-26 460fe4a: ; Doc fixes
Date: Tue, 31 Oct 2017 17:00:05 -0400 (EDT)

branch: emacs-26
commit 460fe4a1bc40f2ba39deda6448a7baf57e0e6b76
Author: Charles A. Roelli <address@hidden>
Commit: Charles A. Roelli <address@hidden>

    ; 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.
---
 doc/emacs/msdos.texi   | 2 +-
 etc/NEWS               | 4 ++--
 lisp/progmodes/xref.el | 5 ++---
 lisp/vc/vc.el          | 1 +
 src/buffer.c           | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/doc/emacs/msdos.texi b/doc/emacs/msdos.texi
index 3569365..dd2004f 100644
--- a/doc/emacs/msdos.texi
+++ b/doc/emacs/msdos.texi
@@ -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
diff --git a/etc/NEWS b/etc/NEWS
index 61fadfb..6809e35 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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'.
 
 +++
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index 80cdcb3..3dbf65e 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -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.
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index b80f0e6..211fedd 100644
--- a/lisp/vc/vc.el
+++ b/lisp/vc/vc.el
@@ -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: ")))
diff --git a/src/buffer.c b/src/buffer.c
index 1c8b463..9635733 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -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'.  */);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]