all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 2/3] octave.el: Do not highlight prompt.
@ 2013-10-02 20:37 Rüdiger Sonderfeld
  0 siblings, 0 replies; only message in thread
From: Rüdiger Sonderfeld @ 2013-10-02 20:37 UTC (permalink / raw)
  To: emacs-devel; +Cc: Leo Liu

`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 <ruediger@c-plusplus.de>
---
 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





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-02 20:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-02 20:37 [PATCH 2/3] octave.el: Do not highlight prompt Rüdiger Sonderfeld

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.