summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2007-09-21 09:15:45 +0000
committerUlrich Müller <ulm@gentoo.org>2007-09-21 09:15:45 +0000
commit148b9f67ccab328bfc2a32463e32da1053d5fc53 (patch)
tree37ffd1369e7707253be5f9813ce2c72f8c74fb21 /app-emacs/w3mnav/files
parentUse autoload for Emacs files (#174469). Other minor fixes. (diff)
downloadgentoo-2-148b9f67ccab328bfc2a32463e32da1053d5fc53.tar.gz
gentoo-2-148b9f67ccab328bfc2a32463e32da1053d5fc53.tar.bz2
gentoo-2-148b9f67ccab328bfc2a32463e32da1053d5fc53.zip
Move binding of keys to w3m-mode-hook. Fixes bug #193287.
(Portage version: 2.1.3.9)
Diffstat (limited to 'app-emacs/w3mnav/files')
-rw-r--r--app-emacs/w3mnav/files/75w3mnav-gentoo.el10
-rw-r--r--app-emacs/w3mnav/files/digest-w3mnav-0.5-r3 (renamed from app-emacs/w3mnav/files/digest-w3mnav-0.5-r2)0
2 files changed, 6 insertions, 4 deletions
diff --git a/app-emacs/w3mnav/files/75w3mnav-gentoo.el b/app-emacs/w3mnav/files/75w3mnav-gentoo.el
index be5d02e9d14c..32d6f544bee2 100644
--- a/app-emacs/w3mnav/files/75w3mnav-gentoo.el
+++ b/app-emacs/w3mnav/files/75w3mnav-gentoo.el
@@ -7,7 +7,9 @@
(autoload 'w3m-nav-go-prev "w3mnav" nil t)
(autoload 'w3m-nav-go-next "w3mnav" nil t)
-(setq w3m-mode-map w3m-info-like-map)
-(define-key w3m-mode-map "t" 'w3m-nav-go-top)
-(define-key w3m-mode-map "[" 'w3m-nav-go-prev)
-(define-key w3m-mode-map "]" 'w3m-nav-go-next)
+(add-hook 'w3m-mode-hook
+ (lambda ()
+ (setq w3m-mode-map w3m-info-like-map)
+ (define-key w3m-mode-map "t" 'w3m-nav-go-top)
+ (define-key w3m-mode-map "[" 'w3m-nav-go-prev)
+ (define-key w3m-mode-map "]" 'w3m-nav-go-next)))
diff --git a/app-emacs/w3mnav/files/digest-w3mnav-0.5-r2 b/app-emacs/w3mnav/files/digest-w3mnav-0.5-r3
index 6d91155e87ce..6d91155e87ce 100644
--- a/app-emacs/w3mnav/files/digest-w3mnav-0.5-r2
+++ b/app-emacs/w3mnav/files/digest-w3mnav-0.5-r3