diff options
Diffstat (limited to 'lisp/iswitchb.el')
| -rw-r--r-- | lisp/iswitchb.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el index 0b283d0ae77..d24f737851b 100644 --- a/lisp/iswitchb.el +++ b/lisp/iswitchb.el @@ -1260,7 +1260,8 @@ Modified from `icomplete-completions'." ;; put in common completion item -- what you get by ;; pressing tab - (if (> (length iswitchb-common-match-string) (length name)) + (if (and (stringp iswitchb-common-match-string) + (> (length iswitchb-common-match-string) (length name))) (concat open-bracket-determined (substring iswitchb-common-match-string (length name)) |
