diff options
| author | Juanma Barranquero | 2013-12-21 00:06:17 +0100 |
|---|---|---|
| committer | Juanma Barranquero | 2013-12-21 00:06:17 +0100 |
| commit | e0eb0550dc7eabc3777f322670200cb126d111e5 (patch) | |
| tree | 11a2001c7e2cecf123910fb04c41c04971928b4f | |
| parent | 3282bd2ea5c392b518f8ac663e9fa480a8ba9b65 (diff) | |
| download | emacs-e0eb0550dc7eabc3777f322670200cb126d111e5.tar.gz emacs-e0eb0550dc7eabc3777f322670200cb126d111e5.zip | |
* faces.el (read-face-name): Require crm.el when using crm-separator.
| -rw-r--r-- | lisp/ChangeLog | 36 | ||||
| -rw-r--r-- | lisp/faces.el | 9 |
2 files changed, 25 insertions, 20 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cfec8e62eb2..2699bcb25ea 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-12-20 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * faces.el (read-face-name): Require crm.el when using crm-separator. | ||
| 4 | |||
| 1 | 2013-12-20 Daniel Colascione <dancol@dancol.org> | 5 | 2013-12-20 Daniel Colascione <dancol@dancol.org> |
| 2 | 6 | ||
| 3 | * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate | 7 | * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate |
| @@ -106,8 +110,8 @@ | |||
| 106 | 110 | ||
| 107 | Fix assignment for new window total sizes. | 111 | Fix assignment for new window total sizes. |
| 108 | * window.el (window--pixel-to-size): Remove function. | 112 | * window.el (window--pixel-to-size): Remove function. |
| 109 | (window--pixel-to-total-1, window--pixel-to-total): Fix | 113 | (window--pixel-to-total-1, window--pixel-to-total): |
| 110 | calculation of new total sizes. | 114 | Fix calculation of new total sizes. |
| 111 | 115 | ||
| 112 | 2013-12-20 Vitalie Spinu <spinuvit@gmail.com> | 116 | 2013-12-20 Vitalie Spinu <spinuvit@gmail.com> |
| 113 | 117 | ||
| @@ -120,8 +124,8 @@ | |||
| 120 | 124 | ||
| 121 | 2013-12-20 Dmitry Gutov <dgutov@yandex.ru> | 125 | 2013-12-20 Dmitry Gutov <dgutov@yandex.ru> |
| 122 | 126 | ||
| 123 | * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): New | 127 | * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): |
| 124 | option. (Bug#16182) | 128 | New option. (Bug#16182) |
| 125 | (ruby-smie--indent-to-stmt-p): Use it. | 129 | (ruby-smie--indent-to-stmt-p): Use it. |
| 126 | (ruby-smie-rules): Revert the logic in the handling of `when'. | 130 | (ruby-smie-rules): Revert the logic in the handling of `when'. |
| 127 | Expand the begin clause to handle `ruby-align-to-stmt-keywords'. | 131 | Expand the begin clause to handle `ruby-align-to-stmt-keywords'. |
| @@ -317,7 +321,7 @@ | |||
| 317 | * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop | 321 | * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop |
| 318 | (Bug#13914). | 322 | (Bug#13914). |
| 319 | 323 | ||
| 320 | 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com> | 324 | 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com> |
| 321 | 325 | ||
| 322 | * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946). | 326 | * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946). |
| 323 | 327 | ||
| @@ -728,7 +732,7 @@ | |||
| 728 | * bindings.el: Map kp keys to non-kp keys systematically | 732 | * bindings.el: Map kp keys to non-kp keys systematically |
| 729 | with basic modifiers control, meta and shift. (Bug#14397) | 733 | with basic modifiers control, meta and shift. (Bug#14397) |
| 730 | 734 | ||
| 731 | 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change) | 735 | 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change) |
| 732 | 736 | ||
| 733 | * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and | 737 | * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and |
| 734 | "Close browser" menu items. Fix wrong function of "List | 738 | "Close browser" menu items. Fix wrong function of "List |
| @@ -777,7 +781,7 @@ | |||
| 777 | (describe-package-1): Add keyword buttons. | 781 | (describe-package-1): Add keyword buttons. |
| 778 | (package-make-button): New convenience function. | 782 | (package-make-button): New convenience function. |
| 779 | (package-keyword-button-action): Keyword button action using | 783 | (package-keyword-button-action): Keyword button action using |
| 780 | `finder-list-matches' | 784 | `finder-list-matches'. |
| 781 | 785 | ||
| 782 | 2013-12-09 Eli Zaretskii <eliz@gnu.org> | 786 | 2013-12-09 Eli Zaretskii <eliz@gnu.org> |
| 783 | 787 | ||
| @@ -1029,7 +1033,7 @@ | |||
| 1029 | * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in | 1033 | * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in |
| 1030 | add-hook and remove-hook for multi-buffer search. (Bug#16035) | 1034 | add-hook and remove-hook for multi-buffer search. (Bug#16035) |
| 1031 | 1035 | ||
| 1032 | 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change) | 1036 | 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change) |
| 1033 | 1037 | ||
| 1034 | * notifications.el (notifications-close-notification): Call the | 1038 | * notifications.el (notifications-close-notification): Call the |
| 1035 | D-Bus method with ID being a `:uint32'. (Bug#16030) | 1039 | D-Bus method with ID being a `:uint32'. (Bug#16030) |
| @@ -1125,9 +1129,9 @@ | |||
| 1125 | (eww-form-checkbox, eww-toggle-checkbox): | 1129 | (eww-form-checkbox, eww-toggle-checkbox): |
| 1126 | Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'. | 1130 | Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'. |
| 1127 | 1131 | ||
| 1128 | * net/shr.el (shr-prefer-media-type-alist): : New customizable variable. | 1132 | * net/shr.el (shr-prefer-media-type-alist): New customizable variable. |
| 1129 | (shr--get-media-pref, shr--extract-best-source): New function. | 1133 | (shr--get-media-pref, shr--extract-best-source): New function. |
| 1130 | (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when | 1134 | (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when |
| 1131 | no :src tag was specified. | 1135 | no :src tag was specified. |
| 1132 | 1136 | ||
| 1133 | * net/eww.el (eww-use-external-browser-for-content-type): New variable. | 1137 | * net/eww.el (eww-use-external-browser-for-content-type): New variable. |
| @@ -1140,7 +1144,7 @@ | |||
| 1140 | poster is available. | 1144 | poster is available. |
| 1141 | (shr-tag-audio): Add support for <audio> tag. | 1145 | (shr-tag-audio): Add support for <audio> tag. |
| 1142 | 1146 | ||
| 1143 | * net/eww.el (eww-text-input-types): : New const. | 1147 | * net/eww.el (eww-text-input-types): New const. |
| 1144 | (eww-process-text-input): Treat input types in | 1148 | (eww-process-text-input): Treat input types in |
| 1145 | `eww-text-input-types' as text. | 1149 | `eww-text-input-types' as text. |
| 1146 | 1150 | ||
| @@ -1347,9 +1351,9 @@ | |||
| 1347 | 1351 | ||
| 1348 | 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change) | 1352 | 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change) |
| 1349 | 1353 | ||
| 1350 | * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'. | 1354 | * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'. |
| 1351 | (eww-add-bookmark): ask confirmation when add to bookmarks | 1355 | (eww-add-bookmark): Ask confirmation when add to bookmarks |
| 1352 | (eww-quit): ask confirmation before quitting eww | 1356 | (eww-quit): Ask confirmation before quitting eww. |
| 1353 | 1357 | ||
| 1354 | 2013-11-26 Eli Zaretskii <eliz@gnu.org> | 1358 | 2013-11-26 Eli Zaretskii <eliz@gnu.org> |
| 1355 | 1359 | ||
| @@ -2757,7 +2761,7 @@ | |||
| 2757 | 2761 | ||
| 2758 | 2013-10-18 Reuben Thomas <rrt@sc3d.org> | 2762 | 2013-10-18 Reuben Thomas <rrt@sc3d.org> |
| 2759 | 2763 | ||
| 2760 | * textmodes/remember.el (remember): set buffer-offer-save in | 2764 | * textmodes/remember.el (remember): Set buffer-offer-save in |
| 2761 | remember buffers (bug#13566). | 2765 | remember buffers (bug#13566). |
| 2762 | 2766 | ||
| 2763 | 2013-10-18 Daniel Colascione <dancol@dancol.org> | 2767 | 2013-10-18 Daniel Colascione <dancol@dancol.org> |
| @@ -4235,7 +4239,7 @@ | |||
| 4235 | 4239 | ||
| 4236 | 2013-09-08 Kenichi Handa <handa@gnu.org> | 4240 | 2013-09-08 Kenichi Handa <handa@gnu.org> |
| 4237 | 4241 | ||
| 4238 | * international/characters.el: Set category "^" (Combining) for | 4242 | * international/characters.el: Set category "^" (Combining) for |
| 4239 | more characters. | 4243 | more characters. |
| 4240 | 4244 | ||
| 4241 | 2013-09-07 Alan Mackenzie <acm@muc.de> | 4245 | 2013-09-07 Alan Mackenzie <acm@muc.de> |
diff --git a/lisp/faces.el b/lisp/faces.el index 14be52a717c..4d4d064a1fc 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -958,10 +958,11 @@ a single face name." | |||
| 958 | ;; If we only want one, and the default is more than one, | 958 | ;; If we only want one, and the default is more than one, |
| 959 | ;; discard the unwanted ones. | 959 | ;; discard the unwanted ones. |
| 960 | (t (symbol-name (car default)))))) | 960 | (t (symbol-name (car default)))))) |
| 961 | (if (and default (not multiple)) | 961 | (when (and default (not multiple)) |
| 962 | ;; For compatibility with `completing-read-multiple' use `crm-separator' | 962 | (require 'crm) |
| 963 | ;; to define DEFAULT if MULTIPLE is nil. | 963 | ;; For compatibility with `completing-read-multiple' use `crm-separator' |
| 964 | (setq default (car (split-string default crm-separator t)))) | 964 | ;; to define DEFAULT if MULTIPLE is nil. |
| 965 | (setq default (car (split-string default crm-separator t)))) | ||
| 965 | 966 | ||
| 966 | (let ((prompt (if default | 967 | (let ((prompt (if default |
| 967 | (format "%s (default `%s'): " prompt default) | 968 | (format "%s (default `%s'): " prompt default) |