diff options
| author | Tassilo Horn | 2020-06-18 12:44:42 +0200 |
|---|---|---|
| committer | Tassilo Horn | 2020-06-18 12:45:15 +0200 |
| commit | 7d7bd1b2d3b1a943dbe5253490de2b6a94ffcb37 (patch) | |
| tree | bcf6da1469b0df2919a193594626194272c4d183 | |
| parent | dcdf6d712416f76a5c29801e97c7f8d923d1a031 (diff) | |
| download | emacs-7d7bd1b2d3b1a943dbe5253490de2b6a94ffcb37.tar.gz emacs-7d7bd1b2d3b1a943dbe5253490de2b6a94ffcb37.zip | |
;Fix error in commit dcdf6d7124
| -rw-r--r-- | lisp/progmodes/bug-reference.el | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/lisp/progmodes/bug-reference.el b/lisp/progmodes/bug-reference.el index e142c693503..9df51c1242a 100644 --- a/lisp/progmodes/bug-reference.el +++ b/lisp/progmodes/bug-reference.el | |||
| @@ -214,20 +214,20 @@ Test each configuration in `bug-reference-setup-from-vc-alist' | |||
| 214 | and apply it if applicable." | 214 | and apply it if applicable." |
| 215 | (let ((file-or-dir (or buffer-file-name | 215 | (let ((file-or-dir (or buffer-file-name |
| 216 | ;; Catches modes such as vc-dir and Magit. | 216 | ;; Catches modes such as vc-dir and Magit. |
| 217 | default-directory)))) | 217 | default-directory))) |
| 218 | (when file-or-dir | 218 | (when file-or-dir |
| 219 | (let* ((backend (vc-responsible-backend file-or-dir t)) | 219 | (let* ((backend (vc-responsible-backend file-or-dir t)) |
| 220 | (url | 220 | (url |
| 221 | (or (ignore-errors | 221 | (or (ignore-errors |
| 222 | (vc-call-backend backend 'repository-url "upstream")) | 222 | (vc-call-backend backend 'repository-url "upstream")) |
| 223 | (ignore-errors | 223 | (ignore-errors |
| 224 | (vc-call-backend backend 'repository-url))))) | 224 | (vc-call-backend backend 'repository-url))))) |
| 225 | (when url | 225 | (when url |
| 226 | (catch 'found | 226 | (catch 'found |
| 227 | (dolist (config bug-reference-setup-from-vc-alist) | 227 | (dolist (config bug-reference-setup-from-vc-alist) |
| 228 | (when (apply #'bug-reference--maybe-setup-from-vc | 228 | (when (apply #'bug-reference--maybe-setup-from-vc |
| 229 | url config) | 229 | url config) |
| 230 | (throw 'found t)))))))) | 230 | (throw 'found t))))))))) |
| 231 | 231 | ||
| 232 | (defvar bug-reference-setup-from-mail-alist | 232 | (defvar bug-reference-setup-from-mail-alist |
| 233 | `((,(regexp-opt '("emacs" "auctex" "gnus") 'words) | 233 | `((,(regexp-opt '("emacs" "auctex" "gnus") 'words) |