aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2018-02-16 09:44:04 -0800
committerGlenn Morris2018-02-16 09:44:04 -0800
commit47106da23ac2b19ad994eed95cdcb0d33535281d (patch)
tree689994b90ebbf6d8567d3143aad15a8fec251179 /lisp
parent4ba32858d61eee16f17b51aca01c15211a0912f8 (diff)
parenta06a8ed5b66883202ae7182471570dfcabcea973 (diff)
downloademacs-47106da23ac2b19ad994eed95cdcb0d33535281d.tar.gz
emacs-47106da23ac2b19ad994eed95cdcb0d33535281d.zip
Merge from origin/emacs-26
a06a8ed (origin/emacs-26) ; * lisp/vc/vc-git.el (vc-git--program-vers... edc06ad Make 'byte-compile-error-on-warn' a safe file variable 9f5d8da ; * lisp/textmodes/flyspell.el (flyspell-auto-correct-word): ... f73905a Fix the doc string of flyspell-auto-correct-word e9c7ddc Improve the MS-Windows appendix of the Emacs manual 6ddb4bd Fix 'vc-git--program-version' 63c93f7 Fix typos and wording in the Emacs manual 42f15b0 * doc/emacs/programs.texi (Semantic): Order programming langu... b46be29 More improvements for the Emacs manual 874c0ed Minor wording change in Emacs manual 53511f9 Another set of changes for the manual 78426b8 Improvements on tramp.texi 0dca618 Tramp minor doc fixes Conflicts: doc/misc/tramp.texi
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emacs-lisp/bytecomp.el5
-rw-r--r--lisp/textmodes/flyspell.el5
-rw-r--r--lisp/vc/vc-git.el7
3 files changed, 14 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index a64c88c4f0d..1bf6d04b63b 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -295,6 +295,11 @@ The information is logged to `byte-compile-log-buffer'."
295 "If true, the byte-compiler reports warnings with `error'." 295 "If true, the byte-compiler reports warnings with `error'."
296 :group 'bytecomp 296 :group 'bytecomp
297 :type 'boolean) 297 :type 'boolean)
298;; This needs to be autoloaded because it needs to be available to
299;; Emacs before the byte compiler is loaded, otherwise Emacs will not
300;; know that this variable is marked as safe until it is too late.
301;; (See https://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00261.html )
302;;;###autoload(put 'byte-compile-error-on-warn 'safe-local-variable 'booleanp)
298 303
299(defconst byte-compile-warning-types 304(defconst byte-compile-warning-types
300 '(redefine callargs free-vars unresolved 305 '(redefine callargs free-vars unresolved
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index 1d7dc9927e5..353d4352f60 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -1917,7 +1917,10 @@ before point that's highlighted as misspelled."
1917;;*---------------------------------------------------------------------*/ 1917;;*---------------------------------------------------------------------*/
1918(defun flyspell-auto-correct-word () 1918(defun flyspell-auto-correct-word ()
1919 "Correct the current word. 1919 "Correct the current word.
1920This command proposes various successive corrections for the current word." 1920This command proposes various successive corrections for the
1921current word. If invoked repeatedly on the same position, it
1922cycles through the possible corrections of the word at or near
1923that position."
1921 (interactive) 1924 (interactive)
1922 ;; If we are not in the construct where flyspell should be active, 1925 ;; If we are not in the construct where flyspell should be active,
1923 ;; invoke the original binding of M-TAB, if that was recorded. 1926 ;; invoke the original binding of M-TAB, if that was recorded.
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 47172dd52fa..9274714cc60 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -243,8 +243,11 @@ Should be consistent with the Git config value i18n.logOutputEncoding."
243 (vc-git--run-command-string nil "version"))) 243 (vc-git--run-command-string nil "version")))
244 (setq vc-git--program-version 244 (setq vc-git--program-version
245 (if (and version-string 245 (if (and version-string
246 (string-match "git version \\([0-9.]+\\)$" 246 ;; Git for Windows appends ".windows.N" to the
247 version-string)) 247 ;; numerical version reported by Git.
248 (string-match
249 "git version \\([0-9.]+\\)\\(\.windows.[0-9]+\\)?$"
250 version-string))
248 (match-string 1 version-string) 251 (match-string 1 version-string)
249 "0"))))) 252 "0")))))
250 253