]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix emacsbug.el errors clearly flagged by the byte-compiler.
authorGlenn Morris <rgm@gnu.org>
Sat, 27 Nov 2010 03:15:59 +0000 (19:15 -0800)
committerGlenn Morris <rgm@gnu.org>
Sat, 27 Nov 2010 03:15:59 +0000 (19:15 -0800)
* lisp/mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
Replace undefined CL functions.

lisp/ChangeLog
lisp/mail/emacsbug.el

index 47d352df1160ec50219022cb92a0555ef2ff5a6a..bd92ca9eb1d44835d749b0765ab3e4e2c4687ea2 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-27  Glenn Morris  <rgm@gnu.org>
+
+       * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
+       Replace undefined CL functions.
+
 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
 
        * simple.el (prog-mode): Set bidi-paragraph-direction to
index 472c9791f8aa96c1390abf6169b66d1229861e16..a00f4c3a46e01238328756ff6c31b46bc9f3ce0f 100644 (file)
@@ -394,13 +394,13 @@ and send the mail again%s."
     (if bugs
        (setq bug-choice-widget
              (apply 'widget-create 'radio-button-choice
-                    :value (car (first bugs))
+                    :value (caar bugs)
                     (let (items)
                       (dolist (bug bugs)
                         (push (list
                                'url-link
                                :format (concat "Bug#" (number-to-string (third bug))
-                                               ": " (second bug) "\n    %[%v%]\n")
+                                               ": " (cadr bug) "\n    %[%v%]\n")
                                ;; FIXME: Why is only the link of the
                                ;; active item clickable?
                                (first bug))
@@ -420,7 +420,7 @@ and send the mail again%s."
                               (let ((val (widget-value bug-choice-widget)))
                                 ;; TODO: Do something!
                                 (message "Appending to bug %s!"
-                                         (third (assoc val bug-alist)))))
+                                         (nth 2 (assoc val bug-alist)))))
                     "Append to chosen bug"))
     (widget-insert " ")
     (widget-create 'push-button