diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2025-12-20 16:21:29 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2025-12-20 16:21:29 +0100 |
| commit | 6c9238218dfaf1a6d7e1b1a12ac34c82641b3d34 (patch) | |
| tree | 53dbf10fb07988ff4a71ef001d31de699f18b2b1 | |
| parent | 088a2bf4a5f9b5f2e1a3ab596ac83f4d69ce3b22 (diff) | |
Remove unnecessary condition-case
| -rw-r--r-- | cape.el | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -438,9 +438,7 @@ If INTERACTIVE is nil the function acts like a Capf." :company-location ,(lambda (file) (let* ((str (buffer-substring-no-properties beg (point))) - (pre (condition-case nil - (car (completion-boundaries str table nil "")) - (t 0))) + (pre (car (completion-boundaries str table nil ""))) (file (file-name-concat (substring str 0 pre) file))) (and (file-exists-p file) (list file)))) ,@(when (or prefix (string-match-p "./" file)) |
