[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 98e98b4 1/4: Merge from origin/emacs-26
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] master 98e98b4 1/4: Merge from origin/emacs-26 |
Date: |
Mon, 2 Jul 2018 22:23:03 -0400 (EDT) |
branch: master
commit 98e98b42a09d7c2c74e9bf58f6eea19086f42e6e
Merge: 332f465 d008ef3
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
Merge from origin/emacs-26
d008ef3 * src/xdisp.c (Vmouse_autoselect_window): Clarify doc-string ...
6f6d525 Detect a non-list package archive content properly (Bug#22311)
---
lisp/emacs-lisp/package.el | 2 +-
src/xdisp.c | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 9a704b2..3623352 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1556,7 +1556,7 @@ similar to an entry in `package-alist'. Save the cached
copy to
(content (buffer-string))
(dir (expand-file-name (concat "archives/" name) package-user-dir))
(local-file (expand-file-name file dir)))
- (when (listp (read-from-string content))
+ (when (listp (read content))
(make-directory dir t)
(if (or (not package-check-signature)
(member name package-unsigned-archives))
diff --git a/src/xdisp.c b/src/xdisp.c
index e383b3b..9b4febd 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -32847,8 +32847,10 @@ mouse pointer enters it.
Autoselection selects the minibuffer only if it is active, and never
unselects the minibuffer if it is active.
-When customizing this variable make sure that the actual value of
-`focus-follows-mouse' matches the behavior of your window manager. */);
+If you want to use the mouse to autoselect a window on another frame,
+make sure that (1) your window manager has focus follow the mouse and
+(2) the value of the option `focus-follows-mouse' matches the policy
+of your window manager. */);
Vmouse_autoselect_window = Qnil;
DEFVAR_LISP ("auto-resize-tool-bars", Vauto_resize_tool_bars,