aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorPaul Eggert2014-04-16 12:43:46 -0700
committerPaul Eggert2014-04-16 12:43:46 -0700
commit290d7ac277986bd118e594a8100b3f40e4492cb1 (patch)
treed63a3aa61cac577dd119665edaffe2def8d194e2 /lisp
parent37eccff4f72c5a36dcd4b89d417b0047aab84e50 (diff)
parentb262bde327db2cd9b2f01f2d3ed946d0b188cb9d (diff)
downloademacs-290d7ac277986bd118e594a8100b3f40e4492cb1.tar.gz
emacs-290d7ac277986bd118e594a8100b3f40e4492cb1.zip
Merge from emacs-24; up to 2014-04-16T15:28:26Z!monnier@iro.umontreal.ca
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog60
-rw-r--r--lisp/elec-pair.el9
-rw-r--r--lisp/frame.el10
-rw-r--r--lisp/htmlfontify.el11
-rw-r--r--lisp/net/shr.el2
-rw-r--r--lisp/net/tramp-sh.el16
-rw-r--r--lisp/nxml/nxml-mode.el2
-rw-r--r--lisp/nxml/xmltok.el3
-rw-r--r--lisp/obsolete/lucid.el10
-rw-r--r--lisp/progmodes/perl-mode.el4
-rw-r--r--lisp/ps-def.el46
-rw-r--r--lisp/simple.el7
-rw-r--r--lisp/term/pc-win.el25
-rw-r--r--lisp/vc/ediff-diff.el5
14 files changed, 123 insertions, 87 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 233a72e79df..f740e7f23df 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,63 @@
12014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
4 here-documents (bug#17262).
5
62014-04-16 Eli Zaretskii <eliz@gnu.org>
7
8 * term/pc-win.el (x-list-fonts, x-get-selection-value):
9 Provide doc strings, as required by snarf-documentation.
10
112014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
14 arg of overlays-at. Use `invisible-p'.
15
16 * obsolete/lucid.el (extent-at):
17 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
18 overlays-at.
19 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
20
212014-04-16 João Távora <joaotavora@gmail.com>
22
23 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
24 links. (Bug#17217).
25
262014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
27
28 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
29 Use mapc to loop over a vector. (Bug#17257).
30
312014-04-16 Michael Albinus <michael.albinus@gmx.de>
32
33 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
34 patch, there are new problems with file names containing spaces.
35 Get rid of backticks. (Bug#17238)
36
372014-04-16 João Távora <joaotavora@gmail.com>
38
39 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
40 possible bug.
41
422014-04-16 Eli Zaretskii <eliz@gnu.org>
43
44 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
45 (blink-cursor-mode): Mention customization variables and the
46 effect of 'blink-cursor-blinks'.
47
482014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
49
50 * simple.el (undo): Prevent insertion of identity mapping into
51 undo-equiv-table so as undo-only does not inf loop in the presence
52 of consecutive nils in undo list.
53
542014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
55
56 * faces.el (make-face): Deprecate optional argument as it is no
57 longer needed/used since the conditional X resources handling
58 has been pushed down to make-face-x-resource-internal itself.
59 (make-empty-face): Don't pass optional argument to make-face.
60
12014-04-16 Karl Fogel <kfogel@red-bean.com> 612014-04-16 Karl Fogel <kfogel@red-bean.com>
2 62
3 * savehist.el (savehist-save): Remove workaround for a read-passwd 63 * savehist.el (savehist-save): Remove workaround for a read-passwd
diff --git a/lisp/elec-pair.el b/lisp/elec-pair.el
index 04e1840c0a5..42b8a912cc4 100644
--- a/lisp/elec-pair.el
+++ b/lisp/elec-pair.el
@@ -226,10 +226,9 @@ WHERE is a list defaulting to '(string comment) and indicates
226when to fallback to `parse-partial-sexp'." 226when to fallback to `parse-partial-sexp'."
227 (let* ((pos (or pos (point))) 227 (let* ((pos (or pos (point)))
228 (where (or where '(string comment))) 228 (where (or where '(string comment)))
229 (quick-ppss (syntax-ppss)) 229 (quick-ppss (syntax-ppss pos))
230 (quick-ppss-at-pos (syntax-ppss pos)) 230 (in-string (and (nth 3 quick-ppss) (memq 'string where)))
231 (in-string (and (nth 3 quick-ppss-at-pos) (memq 'string where))) 231 (in-comment (and (nth 4 quick-ppss) (memq 'comment where)))
232 (in-comment (and (nth 4 quick-ppss-at-pos) (memq 'comment where)))
233 (s-or-c-start (cond (in-string 232 (s-or-c-start (cond (in-string
234 (1+ (nth 8 quick-ppss))) 233 (1+ (nth 8 quick-ppss)))
235 (in-comment 234 (in-comment
@@ -243,7 +242,7 @@ when to fallback to `parse-partial-sexp'."
243 ;; HACK! cc-mode apparently has some `syntax-ppss' bugs 242 ;; HACK! cc-mode apparently has some `syntax-ppss' bugs
244 (if (memq major-mode '(c-mode c++ mode)) 243 (if (memq major-mode '(c-mode c++ mode))
245 (parse-partial-sexp (point-min) pos) 244 (parse-partial-sexp (point-min) pos)
246 quick-ppss-at-pos)))) 245 quick-ppss))))
247 246
248;; Balancing means controlling pairing and skipping of parentheses 247;; Balancing means controlling pairing and skipping of parentheses
249;; so that, if possible, the buffer ends up at least as balanced as 248;; so that, if possible, the buffer ends up at least as balanced as
diff --git a/lisp/frame.el b/lisp/frame.el
index 7b0a0a80082..f081df788ec 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -1722,14 +1722,14 @@ left untouched. FRAME nil or omitted means use the selected frame."
1722 :group 'cursor) 1722 :group 'cursor)
1723 1723
1724(defcustom blink-cursor-blinks 10 1724(defcustom blink-cursor-blinks 10
1725 "How many times to blink before using a solid cursor on NS and X. 1725 "How many times to blink before using a solid cursor on NS, X, and MS-Windows.
1726Use 0 or negative value to blink forever." 1726Use 0 or negative value to blink forever."
1727 :version "24.4" 1727 :version "24.4"
1728 :type 'integer 1728 :type 'integer
1729 :group 'cursor) 1729 :group 'cursor)
1730 1730
1731(defvar blink-cursor-blinks-done 1 1731(defvar blink-cursor-blinks-done 1
1732 "Number of blinks done since we started blinking on NS and X") 1732 "Number of blinks done since we started blinking on NS, X, and MS-Windows.")
1733 1733
1734(defvar blink-cursor-idle-timer nil 1734(defvar blink-cursor-idle-timer nil
1735 "Timer started after `blink-cursor-delay' seconds of Emacs idle time. 1735 "Timer started after `blink-cursor-delay' seconds of Emacs idle time.
@@ -1807,6 +1807,12 @@ With a prefix argument ARG, enable Blink Cursor mode if ARG is
1807positive, and disable it otherwise. If called from Lisp, enable 1807positive, and disable it otherwise. If called from Lisp, enable
1808the mode if ARG is omitted or nil. 1808the mode if ARG is omitted or nil.
1809 1809
1810If the value of `blink-cursor-blinks' is positive (10 by default),
1811the cursor stops blinking after that number of blinks, if Emacs
1812gets no input during that time.
1813
1814See also `blink-cursor-interval' and `blink-cursor-delay'.
1815
1810This command is effective only on graphical frames. On text-only 1816This command is effective only on graphical frames. On text-only
1811terminals, cursor blinking is controlled by the terminal." 1817terminals, cursor blinking is controlled by the terminal."
1812 :init-value (not (or noninteractive 1818 :init-value (not (or noninteractive
diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el
index 1282654899f..56887f39bef 100644
--- a/lisp/htmlfontify.el
+++ b/lisp/htmlfontify.el
@@ -1328,9 +1328,7 @@ return a `defface' style list of face properties instead of a face symbol."
1328(defun hfy-overlay-props-at (p) 1328(defun hfy-overlay-props-at (p)
1329 "Grab overlay properties at point P. 1329 "Grab overlay properties at point P.
1330The plists are returned in descending priority order." 1330The plists are returned in descending priority order."
1331 (sort (mapcar #'overlay-properties (overlays-at p)) 1331 (mapcar #'overlay-properties (overlays-at p 'sorted)))
1332 (lambda (A B) (> (or (cadr (memq 'priority A)) 0) ;FIXME: plist-get?
1333 (or (cadr (memq 'priority B)) 0)))))
1334 1332
1335;; construct an assoc of (face-name . (css-name . "{ css-style }")) elements: 1333;; construct an assoc of (face-name . (css-name . "{ css-style }")) elements:
1336(defun hfy-compile-stylesheet () 1334(defun hfy-compile-stylesheet ()
@@ -1642,7 +1640,6 @@ FILE, if set, is the file name."
1642 (css-map nil) 1640 (css-map nil)
1643 (invis-ranges nil) 1641 (invis-ranges nil)
1644 (rovl nil) 1642 (rovl nil)
1645 (orig-ovls (overlays-in (point-min) (point-max)))
1646 (rmin (when mark-active (region-beginning))) 1643 (rmin (when mark-active (region-beginning)))
1647 (rmax (when mark-active (region-end ))) ) 1644 (rmax (when mark-active (region-end ))) )
1648 (when (and mark-active 1645 (when (and mark-active
@@ -1664,12 +1661,6 @@ FILE, if set, is the file name."
1664 (set-buffer html-buffer) 1661 (set-buffer html-buffer)
1665 ;; rip out props that could interfere with our htmlization of the buffer: 1662 ;; rip out props that could interfere with our htmlization of the buffer:
1666 (remove-text-properties (point-min) (point-max) hfy-ignored-properties) 1663 (remove-text-properties (point-min) (point-max) hfy-ignored-properties)
1667 ;; Apply overlay invisible spec
1668 (setq orig-ovls
1669 (sort orig-ovls
1670 (lambda (A B)
1671 (> (or (cadr (memq 'priority (overlay-properties A))) 0)
1672 (or (cadr (memq 'priority (overlay-properties B))) 0)))))
1673 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1664 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1674 ;; at this point, html-buffer retains the fontification of the parent: 1665 ;; at this point, html-buffer retains the fontification of the parent:
1675 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1666 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 8b68b6f4bc7..58442575ad2 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -610,7 +610,7 @@ size, and full-buffer size."
610 (concat (nth 3 base) url)) 610 (concat (nth 3 base) url))
611 (t 611 (t
612 ;; Totally relative. 612 ;; Totally relative.
613 (concat (car base) (cadr base) url)))) 613 (concat (car base) (expand-file-name url (cadr base))))))
614 614
615(defun shr-ensure-newline () 615(defun shr-ensure-newline ()
616 (unless (zerop (current-column)) 616 (unless (zerop (current-column))
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index 4d0b5ae54d4..3b600e3d84e 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -950,15 +950,15 @@ target of the symlink differ."
950 (tramp-message v 4 "Finding true name for `%s'" filename) 950 (tramp-message v 4 "Finding true name for `%s'" filename)
951 (cond 951 (cond
952 ;; Use GNU readlink --canonicalize-missing where available. 952 ;; Use GNU readlink --canonicalize-missing where available.
953 ;; We must quote the file name twice due to the backticks.
954 ((tramp-get-remote-readlink v) 953 ((tramp-get-remote-readlink v)
955 (setq result 954 (tramp-send-command-and-check
956 (tramp-send-command-and-read 955 v
957 v 956 (format "%s --canonicalize-missing %s"
958 (format "echo \"\\\"`%s --canonicalize-missing %s`\\\"\"" 957 (tramp-get-remote-readlink v)
959 (tramp-get-remote-readlink v) 958 (tramp-shell-quote-argument localname)))
960 (tramp-shell-quote-argument 959 (with-current-buffer (tramp-get-connection-buffer v)
961 (tramp-shell-quote-argument localname)))))) 960 (goto-char (point-min))
961 (setq result (buffer-substring (point-min) (point-at-eol)))))
962 962
963 ;; Use Perl implementation. 963 ;; Use Perl implementation.
964 ((and (tramp-get-remote-perl v) 964 ((and (tramp-get-remote-perl v)
diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el
index 0daf62d804f..cd50bce2152 100644
--- a/lisp/nxml/nxml-mode.el
+++ b/lisp/nxml/nxml-mode.el
@@ -872,7 +872,7 @@ Called with `font-lock-beg' and `font-lock-end' dynamically bound."
872 872
873(defun nxml-fontify-matcher (bound) 873(defun nxml-fontify-matcher (bound)
874 "Called as font-lock keyword matcher." 874 "Called as font-lock keyword matcher."
875 875 (syntax-propertize bound)
876 (unless nxml-degraded 876 (unless nxml-degraded
877 (nxml-debug-change "nxml-fontify-matcher" (point) bound) 877 (nxml-debug-change "nxml-fontify-matcher" (point) bound)
878 878
diff --git a/lisp/nxml/xmltok.el b/lisp/nxml/xmltok.el
index 58a2f16d586..f80a5fd2fa1 100644
--- a/lisp/nxml/xmltok.el
+++ b/lisp/nxml/xmltok.el
@@ -750,7 +750,8 @@ Return the type of the token."
750 ;; Need do this after the goto-char because 750 ;; Need do this after the goto-char because
751 ;; marked error should just apply to <!-- 751 ;; marked error should just apply to <!--
752 (xmltok-add-error "First following `--' not followed by `>'") 752 (xmltok-add-error "First following `--' not followed by `>'")
753 'not-well-formed))))) 753 (goto-char (point-max))
754 'comment)))))
754 755
755(defun xmltok-scan-attributes () 756(defun xmltok-scan-attributes ()
756 (let ((recovering nil) 757 (let ((recovering nil)
diff --git a/lisp/obsolete/lucid.el b/lisp/obsolete/lucid.el
index d3cb3f135d8..15f80652809 100644
--- a/lisp/obsolete/lucid.el
+++ b/lisp/obsolete/lucid.el
@@ -125,7 +125,7 @@ This is an XEmacs compatibility function."
125 125
126(defun extent-at (pos &optional object property before) 126(defun extent-at (pos &optional object property before)
127 (with-current-buffer (or object (current-buffer)) 127 (with-current-buffer (or object (current-buffer))
128 (let ((overlays (overlays-at pos))) 128 (let ((overlays (overlays-at pos 'sorted)))
129 (when property 129 (when property
130 (let (filtered) 130 (let (filtered)
131 (while overlays 131 (while overlays
@@ -133,14 +133,6 @@ This is an XEmacs compatibility function."
133 (setq filtered (cons (car overlays) filtered))) 133 (setq filtered (cons (car overlays) filtered)))
134 (setq overlays (cdr overlays))) 134 (setq overlays (cdr overlays)))
135 (setq overlays filtered))) 135 (setq overlays filtered)))
136 (setq overlays
137 (sort overlays
138 (function (lambda (o1 o2)
139 (let ((p1 (or (overlay-get o1 'priority) 0))
140 (p2 (or (overlay-get o2 'priority) 0)))
141 (or (> p1 p2)
142 (and (= p1 p2)
143 (> (overlay-start o1) (overlay-start o2)))))))))
144 (if before 136 (if before
145 (nth 1 (memq before overlays)) 137 (nth 1 (memq before overlays))
146 (car overlays))))) 138 (car overlays)))))
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el
index 3486c0a1983..f89fec7b1e0 100644
--- a/lisp/progmodes/perl-mode.el
+++ b/lisp/progmodes/perl-mode.el
@@ -903,7 +903,9 @@ Optional argument PARSE-START should be the position of `beginning-of-defun'."
903 ;; following_quotep minimum_paren-depth_this_scan) 903 ;; following_quotep minimum_paren-depth_this_scan)
904 ;; Parsing stops if depth in parentheses becomes equal to third arg. 904 ;; Parsing stops if depth in parentheses becomes equal to third arg.
905 (setq containing-sexp (nth 1 state))) 905 (setq containing-sexp (nth 1 state)))
906 (cond ((nth 3 state) 'noindent) ; In a quoted string? 906 (cond
907 ;; Don't auto-indent in a quoted string or a here-document.
908 ((or (nth 3 state) (eq 2 (nth 7 state))) 'noindent)
907 ((null containing-sexp) ; Line is at top level. 909 ((null containing-sexp) ; Line is at top level.
908 (skip-chars-forward " \t\f") 910 (skip-chars-forward " \t\f")
909 (if (memq (following-char) 911 (if (memq (following-char)
diff --git a/lisp/ps-def.el b/lisp/ps-def.el
index 06cef75cbbd..92a2e0b38cd 100644
--- a/lisp/ps-def.el
+++ b/lisp/ps-def.el
@@ -339,53 +339,11 @@
339 (setq position (min property-change overlay-change) 339 (setq position (min property-change overlay-change)
340 before-string nil 340 before-string nil
341 after-string nil) 341 after-string nil)
342 ;; The code below is not quite correct,
343 ;; because a non-nil overlay invisible property
344 ;; which is inactive according to the current value
345 ;; of buffer-invisibility-spec nonetheless overrides
346 ;; a face text property.
347 (setq face 342 (setq face
348 (cond ((let ((prop (get-text-property from 'invisible))) 343 (cond ((invisible-p from)
349 ;; Decide whether this invisible property
350 ;; really makes the text invisible.
351 (if (eq save-buffer-invisibility-spec t)
352 (not (null prop))
353 (or (memq prop save-buffer-invisibility-spec)
354 (assq prop save-buffer-invisibility-spec))))
355 'emacs--invisible--face) 344 'emacs--invisible--face)
356 ((get-text-property from 'face)) 345 ((get-char-property from 'face))
357 (t 'default))) 346 (t 'default)))
358 (let ((overlays (overlays-at from))
359 (face-priority -1)) ; text-property
360 (while (and overlays
361 (not (eq face 'emacs--invisible--face)))
362 (let* ((overlay (car overlays))
363 (overlay-invisible
364 (overlay-get overlay 'invisible))
365 (overlay-priority
366 (or (overlay-get overlay 'priority) 0)))
367 (and (> overlay-priority face-priority)
368 (setq before-string
369 (or (overlay-get overlay 'before-string)
370 before-string)
371 after-string
372 (or (and (<= (overlay-end overlay) position)
373 (overlay-get overlay 'after-string))
374 after-string)
375 face-priority overlay-priority
376 face
377 (cond
378 ((if (eq save-buffer-invisibility-spec t)
379 (not (null overlay-invisible))
380 (or (memq overlay-invisible
381 save-buffer-invisibility-spec)
382 (assq overlay-invisible
383 save-buffer-invisibility-spec)))
384 'emacs--invisible--face)
385 ((overlay-get overlay 'face))
386 (t face)
387 ))))
388 (setq overlays (cdr overlays))))
389 ;; Plot up to this record. 347 ;; Plot up to this record.
390 (and before-string 348 (and before-string
391 (ps-plot-string before-string)) 349 (ps-plot-string before-string))
diff --git a/lisp/simple.el b/lisp/simple.el
index 0af15269bb9..17aba8e6a40 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2143,7 +2143,12 @@ as an argument limits undo to changes within the current region."
2143 ;; above when checking. 2143 ;; above when checking.
2144 (while (eq (car list) nil) 2144 (while (eq (car list) nil)
2145 (setq list (cdr list))) 2145 (setq list (cdr list)))
2146 (puthash list (if undo-in-region t pending-undo-list) 2146 (puthash list
2147 ;; Prevent identity mapping. This can happen if
2148 ;; consecutive nils are erroneously in undo list.
2149 (if (or undo-in-region (eq list pending-undo-list))
2150 t
2151 pending-undo-list)
2147 undo-equiv-table)) 2152 undo-equiv-table))
2148 ;; Don't specify a position in the undo record for the undo command. 2153 ;; Don't specify a position in the undo record for the undo command.
2149 ;; Instead, undoing this should move point to where the change is. 2154 ;; Instead, undoing this should move point to where the change is.
diff --git a/lisp/term/pc-win.el b/lisp/term/pc-win.el
index 00b860f8dcc..f24a54fbe28 100644
--- a/lisp/term/pc-win.el
+++ b/lisp/term/pc-win.el
@@ -165,6 +165,27 @@ created."
165 165
166;; From src/xfns.c 166;; From src/xfns.c
167(defun x-list-fonts (_pattern &optional _face _frame _maximum width) 167(defun x-list-fonts (_pattern &optional _face _frame _maximum width)
168 "Return a list of the names of available fonts matching PATTERN.
169If optional arguments FACE and FRAME are specified, return only fonts
170the same size as FACE on FRAME.
171
172PATTERN should be a string containing a font name in the XLFD,
173Fontconfig, or GTK format. A font name given in the XLFD format may
174contain wildcard characters:
175 the * character matches any substring, and
176 the ? character matches any single character.
177 PATTERN is case-insensitive.
178
179The return value is a list of strings, suitable as arguments to
180\`set-face-font'.
181
182Fonts Emacs can't use may or may not be excluded
183even if they match PATTERN and FACE.
184The optional fourth argument MAXIMUM sets a limit on how many
185fonts to match. The first MAXIMUM fonts are reported.
186The optional fifth argument WIDTH, if specified, is a number of columns
187occupied by a character of a font. In that case, return only fonts
188the WIDTH times as wide as FACE on FRAME."
168 (if (or (null width) (and (numberp width) (= width 1))) 189 (if (or (null width) (and (numberp width) (= width 1)))
169 (list "ms-dos") 190 (list "ms-dos")
170 (list "no-such-font"))) 191 (list "no-such-font")))
@@ -232,9 +253,9 @@ is not used)."
232 (w16-set-clipboard-data text)) 253 (w16-set-clipboard-data text))
233 (setq x-last-selected-text text)) 254 (setq x-last-selected-text text))
234 255
235;;; Return the value of the current selection.
236;;; Consult the selection. Treat empty strings as if they were unset.
237(defun x-get-selection-value () 256(defun x-get-selection-value ()
257 "Return the value of the current selection.
258Consult the selection. Treat empty strings as if they were unset."
238 (if x-select-enable-clipboard 259 (if x-select-enable-clipboard
239 (let (text) 260 (let (text)
240 ;; Don't die if x-get-selection signals an error. 261 ;; Don't die if x-get-selection signals an error.
diff --git a/lisp/vc/ediff-diff.el b/lisp/vc/ediff-diff.el
index f429eb35d70..ed248fbf835 100644
--- a/lisp/vc/ediff-diff.el
+++ b/lisp/vc/ediff-diff.el
@@ -822,8 +822,9 @@ one optional arguments, diff-number to refine.")
822 (ediff-get-symbol-from-alist 822 (ediff-get-symbol-from-alist
823 buf-type ediff-fine-diff-face-alist) 823 buf-type ediff-fine-diff-face-alist)
824 ))) 824 )))
825 (dolist (overl fine-diff-vector) 825 (mapc (lambda (overl)
826 (ediff-set-overlay-face overl face)))) 826 (ediff-set-overlay-face overl face))
827 fine-diff-vector)))
827 828
828;; Set overlays over the regions that denote delimiters 829;; Set overlays over the regions that denote delimiters
829(defun ediff-set-fine-overlays-for-combined-merge (diff-list reg-num) 830(defun ediff-set-fine-overlays-for-combined-merge (diff-list reg-num)