diff options
| author | Glenn Morris | 2010-11-26 19:15:59 -0800 |
|---|---|---|
| committer | Glenn Morris | 2010-11-26 19:15:59 -0800 |
| commit | a140ec5f5e91a60851ebdbfe3360825e89965df1 (patch) | |
| tree | 8ea0f2ef314c7cb826f5751f0a51fa1ab202c03c | |
| parent | 0162eb45af85245c596acd4986e86da3affb5a83 (diff) | |
| download | emacs-a140ec5f5e91a60851ebdbfe3360825e89965df1.tar.gz emacs-a140ec5f5e91a60851ebdbfe3360825e89965df1.zip | |
Fix emacsbug.el errors clearly flagged by the byte-compiler.
* lisp/mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
Replace undefined CL functions.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/mail/emacsbug.el | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 47d352df116..bd92ca9eb1d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-11-27 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer): | ||
| 4 | Replace undefined CL functions. | ||
| 5 | |||
| 1 | 2010-11-26 Eli Zaretskii <eliz@gnu.org> | 6 | 2010-11-26 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * simple.el (prog-mode): Set bidi-paragraph-direction to | 8 | * simple.el (prog-mode): Set bidi-paragraph-direction to |
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index 472c9791f8a..a00f4c3a46e 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el | |||
| @@ -394,13 +394,13 @@ and send the mail again%s." | |||
| 394 | (if bugs | 394 | (if bugs |
| 395 | (setq bug-choice-widget | 395 | (setq bug-choice-widget |
| 396 | (apply 'widget-create 'radio-button-choice | 396 | (apply 'widget-create 'radio-button-choice |
| 397 | :value (car (first bugs)) | 397 | :value (caar bugs) |
| 398 | (let (items) | 398 | (let (items) |
| 399 | (dolist (bug bugs) | 399 | (dolist (bug bugs) |
| 400 | (push (list | 400 | (push (list |
| 401 | 'url-link | 401 | 'url-link |
| 402 | :format (concat "Bug#" (number-to-string (third bug)) | 402 | :format (concat "Bug#" (number-to-string (third bug)) |
| 403 | ": " (second bug) "\n %[%v%]\n") | 403 | ": " (cadr bug) "\n %[%v%]\n") |
| 404 | ;; FIXME: Why is only the link of the | 404 | ;; FIXME: Why is only the link of the |
| 405 | ;; active item clickable? | 405 | ;; active item clickable? |
| 406 | (first bug)) | 406 | (first bug)) |
| @@ -420,7 +420,7 @@ and send the mail again%s." | |||
| 420 | (let ((val (widget-value bug-choice-widget))) | 420 | (let ((val (widget-value bug-choice-widget))) |
| 421 | ;; TODO: Do something! | 421 | ;; TODO: Do something! |
| 422 | (message "Appending to bug %s!" | 422 | (message "Appending to bug %s!" |
| 423 | (third (assoc val bug-alist))))) | 423 | (nth 2 (assoc val bug-alist))))) |
| 424 | "Append to chosen bug")) | 424 | "Append to chosen bug")) |
| 425 | (widget-insert " ") | 425 | (widget-insert " ") |
| 426 | (widget-create 'push-button | 426 | (widget-create 'push-button |