emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/3] octave.el: Do not highlight prompt.


From: Rüdiger Sonderfeld
Subject: [PATCH 2/3] octave.el: Do not highlight prompt.
Date: Wed, 02 Oct 2013 22:37:35 +0200
User-agent: KMail/4.10.5 (Linux/3.8.0-30-generic; KDE/4.10.5; x86_64; ; )

`comint-mode' takes care of that for us.

* lisp/progmodes/octave.el (inferior-octave-font-lock-keywords): Do
  not highlight prompt.

Signed-off-by: Rüdiger Sonderfeld <address@hidden>
---
 lisp/progmodes/octave.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/lisp/progmodes/octave.el b/lisp/progmodes/octave.el
index b200327..4a17258 100644
--- a/lisp/progmodes/octave.el
+++ b/lisp/progmodes/octave.el
@@ -664,10 +664,8 @@ (defface inferior-octave-warning-face '((t :inherit 
warning))
   :version "24.4")
 
 (defvar inferior-octave-font-lock-keywords
-  (list
-   (cons inferior-octave-prompt 'font-lock-type-face)
-   '("^\\(?:parse \\)?error:" . 'inferior-octave-error-face)
-   '("^warning:" . 'inferior-octave-warning-face))
+  '(("^\\(?:parse \\)?error:" . 'inferior-octave-error-face)
+    ("^warning:" . 'inferior-octave-warning-face))
   ;; Could certainly do more font locking in inferior Octave ...
   "Additional expressions to highlight in Inferior Octave mode.")
 
-- 
1.8.4





reply via email to

[Prev in Thread] Current Thread [Next in Thread]