diff options
| author | Lars Ingebrigtsen | 2014-02-08 20:57:28 -0800 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2014-02-08 20:57:28 -0800 |
| commit | fc2b1ffaa0e7edfd60fee9441c59c830219a407c (patch) | |
| tree | d10d27eaccfcf5aa329bf6d63a16f2193de429af /lisp/cus-edit.el | |
| parent | ab4dc1e1bab31e79566fdbff73508cac40cd9f12 (diff) | |
| download | emacs-fc2b1ffaa0e7edfd60fee9441c59c830219a407c.tar.gz emacs-fc2b1ffaa0e7edfd60fee9441c59c830219a407c.zip | |
* cus-edit.el (customize-apropos): Fix error string.
Diffstat (limited to 'lisp/cus-edit.el')
| -rw-r--r-- | lisp/cus-edit.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 5b03d3d57c7..8c3617de633 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -1450,7 +1450,10 @@ If TYPE is `groups', include only groups." | |||
| 1450 | (custom-variable-p symbol))) | 1450 | (custom-variable-p symbol))) |
| 1451 | (push (list symbol 'custom-variable) found)))))) | 1451 | (push (list symbol 'custom-variable) found)))))) |
| 1452 | (unless found | 1452 | (unless found |
| 1453 | (error "No customizable %s matching %s" (symbol-name type) pattern)) | 1453 | (error "No customizable %s matching %s" (if (not type) |
| 1454 | "group, face, or option" | ||
| 1455 | (symbol-name type)) | ||
| 1456 | pattern)) | ||
| 1454 | (custom-buffer-create | 1457 | (custom-buffer-create |
| 1455 | (custom-sort-items found t custom-buffer-order-groups) | 1458 | (custom-sort-items found t custom-buffer-order-groups) |
| 1456 | "*Customize Apropos*"))) | 1459 | "*Customize Apropos*"))) |