[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Fix compile warning [PATCH]



Just re-built w3m and the compiler complained about the position of
defcustom w3m-confirm-leaving-secure-page, after it being referenced.


-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0
--- w3m.el.~1.1688.~	2017-09-25 08:12:08.255914018 -0400
+++ w3m.el	2017-09-25 15:36:49.881306230 -0400
@@ -3830,6 +3830,16 @@
 				 t
 				 'w3m-idle-images-show)))))
 
+(defcustom w3m-confirm-leaving-secure-page t
+  "If non-nil, you'll be asked for confirmation when leaving secure pages.
+This option controls whether the confirmation is made also when
+retrieving data (typically images) in a secure page from non-secure
+pages.  It is STRONGLY recommended to set non-nil value to this option.
+You MUST understand what you want to do completely before
+switching off this option."
+  :group 'w3m
+  :type 'boolean)
+
 (defvar w3m-image-no-idle-timer nil)
 (defun w3m-toggle-inline-images-internal (status
 					  &optional no-cache url
@@ -6260,16 +6270,6 @@
   (w3m-message "Rendering...done")
   (w3m-rendering-extract-title))
 
-(defcustom w3m-confirm-leaving-secure-page t
-  "If non-nil, you'll be asked for confirmation when leaving secure pages.
-This option controls whether the confirmation is made also when
-retrieving data (typically images) in a secure page from non-secure
-pages.  It is STRONGLY recommended to set non-nil value to this option.
-You MUST understand what you want to do completely before
-switching off this option."
-  :group 'w3m
-  :type 'boolean)
-
 (defun w3m-retrieve-and-render (url &optional no-cache charset
 				    post-data referer handler)
   "Retrieve contents of URL and render them in the current buffer.