diff options
| author | Glenn Morris <rgm@gnu.org> | 2018-07-02 19:19:05 -0700 |
|---|---|---|
| committer | Glenn Morris <rgm@gnu.org> | 2018-07-02 19:19:05 -0700 |
| commit | 98e98b42a09d7c2c74e9bf58f6eea19086f42e6e (patch) | |
| tree | b28b326043ea9a3ee431a741740222c0c9f94508 | |
| parent | 332f4656b019b58fed1de6e35769e83ff190908d (diff) | |
| parent | d008ef3d0b4aaa83d9ee105450fdcf13aa63a7e3 (diff) | |
| download | emacs-98e98b42a09d7c2c74e9bf58f6eea19086f42e6e.tar.gz | |
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)
| -rw-r--r-- | lisp/emacs-lisp/package.el | 2 | ||||
| -rw-r--r-- | 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 9a704b2d98c..362335220f0 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 e383b3b0d16..9b4febdd61a 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, |
