summaryrefslogtreecommitdiff
path: root/lisp/term/news.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/term/news.el')
-rw-r--r--lisp/term/news.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/term/news.el b/lisp/term/news.el
index a6f7481c422..fc5dd86710f 100644
--- a/lisp/term/news.el
+++ b/lisp/term/news.el
@@ -31,7 +31,7 @@
(if (boundp 'news-fkey-prefix)
nil
;; The terminal initialization should already have set up some keys
- (setq news-fkey-prefix (lookup-key function-key-map "\eO"))
+ (setq news-fkey-prefix (lookup-key (terminal-local-value 'function-key-map nil) "\eO"))
(if (not (keymapp news-fkey-prefix))
(error "What? Your news termcap/terminfo has no keycaps in it"))