diff options
author | Torsten Hilbrich <torsten.hilbrich@gmx.net> | 2001-07-17 21:25:00 +0200 |
---|---|---|
committer | Torsten Hilbrich <torsten@hilbrich.net> | 2011-08-27 20:47:38 +0200 |
commit | f257cd13ae2cb40a48f42a84d9abc06825aaf8ff (patch) | |
tree | 045be6ea519fbdd5595f1f259b285eb1124673c8 /link.el | |
parent | d8d08549efa7eb2f5d1c513e190b3187a4629f34 (diff) |
Imported version 1.5.1 from tarball
fixed bug with dictionary-previous (found by Rui Zhu)
fixed key bindings in link.el
Diffstat (limited to 'link.el')
-rw-r--r-- | link.el | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -2,7 +2,7 @@ ;; Author: Torsten Hilbrich <Torsten.Hilbrich@gmx.net> ;; Keywords: interface, hypermedia -;; $Id: link.el,v 1.5 1999/01/08 18:36:50 torsten Exp torsten $ +;; $Id: link.el,v 1.8 2001/07/17 19:23:55 torsten Exp $ ;; This file is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -109,13 +109,8 @@ link. Upon clicking the `function' is called with `data' as argument." (defun link-initialize-keymap (keymap) "Defines the necessary bindings inside keymap" - (if (and (boundp 'running-xemacs) running-xemacs) - (progn - (define-key keymap [button2] 'link-mouse-click) - (define-key keymap [(meta button2)] 'link-mouse-click-all)) - (define-key keymap [mouse-2] 'link-mouse-click) - (define-key keymap [M-mouse-2] 'link-mouse-click-all)) - (define-key keymap [return] 'link-selected) - (define-key keymap [(meta return)] 'link-selected-all)) + (define-key keymap [mouse-2] 'link-mouse-click) + (define-key keymap "\r" 'link-selected) + (define-key keymap "\M-\r" 'link-selected-all)) (provide 'link) |