summaryrefslogtreecommitdiff
path: root/lisp/term/news.el
diff options
context:
space:
mode:
authorKaroly Lorentey <lorentey@elte.hu>2006-05-20 17:02:47 +0000
committerKaroly Lorentey <lorentey@elte.hu>2006-05-20 17:02:47 +0000
commit8cbd7bed2db718a63ed37182c566f9e059925c71 (patch)
treeb8905d6abc17f84a33d1f80f35a0b87f69819da9 /lisp/term/news.el
parentb34c34dae08d94ca9ab0cd50cb53f0ab0cd21491 (diff)
downloademacs-8cbd7bed2db718a63ed37182c566f9e059925c71.tar.gz
emacs-8cbd7bed2db718a63ed37182c566f9e059925c71.tar.bz2
emacs-8cbd7bed2db718a63ed37182c566f9e059925c71.zip
Fix and/or simplify terminal initialization files.
* lisp/faces.el (tty-create-frame-with-faces): Set up faces and background mode only after the terminal has been initialized. (frame-set-background-mode): Handle the 'background-mode terminal parameter. (tty-run-terminal-initialization): Add type option. * lisp/term/README: Update. * lisp/term/rxvt.el: Simplify. * lisp/term/xterm.el: Simplify and fix. * lisp/term/*.el: Simplify and fix. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-564
Diffstat (limited to 'lisp/term/news.el')
-rw-r--r--lisp/term/news.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/term/news.el b/lisp/term/news.el
index eaf662c8cfc..6fd39d24210 100644
--- a/lisp/term/news.el
+++ b/lisp/term/news.el
@@ -31,10 +31,8 @@
(defun terminal-init-news ()
"Terminal initialization function for news."
- (if (boundp 'news-fkey-prefix)
- nil
- ;; The terminal initialization should already have set up some keys
- (setq news-fkey-prefix (lookup-key local-function-key-map "\eO"))
+ ;; The terminal initialization should already have set up some keys
+ (let ((news-fkey-prefix (lookup-key local-function-key-map "\eO")))
(if (not (keymapp news-fkey-prefix))
(error "What? Your news termcap/terminfo has no keycaps in it"))