[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r115329: Compilation warning fix
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] trunk r115329: Compilation warning fix |
Date: |
Sun, 01 Dec 2013 14:45:06 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 115329
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/15243
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Sun 2013-12-01 15:45:02 +0100
message:
Compilation warning fix
Move eww-link-keymap definition to before usage
modified:
lisp/net/eww.el eww.el-20130610114603-80ap3gwnw4x4m5ix-1
=== modified file 'lisp/net/eww.el'
--- a/lisp/net/eww.el 2013-12-01 14:22:03 +0000
+++ b/lisp/net/eww.el 2013-12-01 14:45:02 +0000
@@ -105,6 +105,11 @@
(defvar eww-local-regex "localhost"
"When this regex is found in the URL, it's not a keyword but an address.")
+(defvar eww-link-keymap
+ (let ((map (copy-keymap shr-map)))
+ (define-key map "\r" 'eww-follow-link)
+ map))
+
;;;###autoload
(defun eww (url)
"Fetch URL and render the page.
@@ -380,11 +385,6 @@
["List cookies" url-cookie-list t]))
map))
-(defvar eww-link-keymap
- (let ((map (copy-keymap shr-map)))
- (define-key map "\r" 'eww-follow-link)
- map))
-
(define-derived-mode eww-mode nil "eww"
"Mode for browsing the web.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r115329: Compilation warning fix,
Lars Ingebrigtsen <=