* eww.el (eww-tag-select): Don't render totally empty <select> forms.
[gnus] / lisp / dgnushack.el
index fec8302..dfe44a1 100644 (file)
@@ -1,5 +1,5 @@
 ;;; dgnushack.el --- a hack to set the load path for byte-compiling
-;; Copyright (C) 1994-2012 Free Software Foundation, Inc.
+;; Copyright (C) 1994-2013 Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
 ;; Version: 4.19
     (autoload 'customize-set-variable "cus-edit" nil t)
     (autoload 'customize-variable "cus-edit" nil t)
     (autoload 'debug "debug" nil t)
-    (autoload 'define-compiler-macro "cl-macs" nil nil 'macro)
     (autoload 'sha1 "sha1")
     (if (featurep 'mule)
        (unless (locate-library "mule-ccl")
@@ -335,7 +334,7 @@ This means that every warning will be reported as an error."
                 ;; lpath.el binds it.
                 (not (eq (symbol-function 'libxml-parse-html-region)
                          'ignore)))
-      (dolist (file '("color.el" "shr-color.el" "shr.el"))
+      (dolist (file '("color.el" "shr-color.el" "shr.el" "eww.el"))
        (setq files (delete file files))))
     (unless (locate-library "epg")
       (setq files (delete "plstore.el" files)))
@@ -582,10 +581,10 @@ but which should be robust in the unexpected case that an error is signaled."
                                                     (oldvar newvar &rest args)
                                                     activate)
      "Ignore arguments other than the 1st and the 2nd ones."
-     (ad-Orig-define-obsolete-variable-alias oldvar newvar))
-   (define-compiler-macro
-     define-obsolete-variable-alias (oldvar newvar &rest args)
-     `(funcall ,(symbol-function 'ad-Orig-define-obsolete-variable-alias)
-              ,oldvar ,newvar))))
+     ad-do-it)
+   (put 'define-obsolete-variable-alias 'byte-optimizer
+       (lambda (form)
+         (setcdr (nthcdr 2 form) nil)
+         form))))
 
 ;;; dgnushack.el ends here