aboutsummaryrefslogtreecommitdiff
path: root/dictionary.el
diff options
context:
space:
mode:
authorTorsten Hilbrich <torsten.hilbrich@gmx.net>2001-06-22 22:22:00 +0200
committerTorsten Hilbrich <torsten@hilbrich.net>2011-08-27 20:47:38 +0200
commitb05614db73ee581dfbb29793a7c2a11b89e1ed8b (patch)
tree4047ae47598c303ce3f6b0a03c5d014512fb4f78 /dictionary.el
parentacc30f0c431e4ad89296f4bd9b81e97f970ac6c7 (diff)
Imported version 1.3.2 from tarball
replaced set-text-properties by remove-text-properties and add-text-properties because this function is not recommended within XEmacs (reported by Serge Boiko)
Diffstat (limited to 'dictionary.el')
-rw-r--r--dictionary.el13
1 files changed, 10 insertions, 3 deletions
diff --git a/dictionary.el b/dictionary.el
index 38d2310..149efc2 100644
--- a/dictionary.el
+++ b/dictionary.el
@@ -117,7 +117,7 @@ one dictionary yields matches."
(((type tty)
(class color)
(background dark))
- (:foreground "brightyellow"))
+ (:foreground "cyan"))
(((class color)
(background light))
(:foreground "blue"))
@@ -261,9 +261,16 @@ This is a quick reference to this mode describing the default key bindings:
(define-key dictionary-mode-map "m" 'dictionary-match-words)
(define-key dictionary-mode-map "l" 'dictionary-previous)
- (define-key dictionary-mode-map [tab] 'dictionary-next-link)
- (define-key dictionary-mode-map "n" 'dictionary-next-link)
+ (if (and (string-match "GNU" (emacs-version))
+ (not window-system))
+ (define-key dictionary-mode-map [9] 'dictionary-next-link)
+ (define-key dictionary-mode-map [tab] 'dictionary-next-link))
+
+ ;; shift-tabs normally is supported on window systems only, but
+ ;; I do not enforce it
(define-key dictionary-mode-map [(shift tab)] 'dictionary-prev-link)
+
+ (define-key dictionary-mode-map "n" 'dictionary-next-link)
(define-key dictionary-mode-map "p" 'dictionary-prev-link)
(define-key dictionary-mode-map " " 'scroll-up)