[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r114523: * progmodes/octave.el (inferior-octave-mode
From: |
Leo Liu |
Subject: |
[Emacs-diffs] trunk r114523: * progmodes/octave.el (inferior-octave-mode): Call |
Date: |
Fri, 04 Oct 2013 15:13:00 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 114523
revision-id: address@hidden
parent: address@hidden
committer: Leo Liu <address@hidden>
branch nick: trunk
timestamp: Fri 2013-10-04 23:11:13 +0800
message:
* progmodes/octave.el (inferior-octave-mode): Call
compilation-forget-errors.
modified:
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/progmodes/octave.el
octavemod.el-20091113204419-o5vbwnq5f7feedwu-1028
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2013-10-04 14:46:31 +0000
+++ b/lisp/ChangeLog 2013-10-04 15:11:13 +0000
@@ -1,3 +1,8 @@
+2013-10-04 Leo Liu <address@hidden>
+
+ * progmodes/octave.el (inferior-octave-mode): Call
+ compilation-forget-errors.
+
2013-10-04 Xue Fuqiao <address@hidden>
* emacs-lisp/syntax.el (syntax-ppss): Doc fix.
=== modified file 'lisp/progmodes/octave.el'
--- a/lisp/progmodes/octave.el 2013-10-04 09:45:25 +0000
+++ b/lisp/progmodes/octave.el 2013-10-04 15:11:13 +0000
@@ -694,6 +694,8 @@
(defvar compilation-error-regexp-alist)
(defvar compilation-mode-font-lock-keywords)
+(declare-function compilation-forget-errors "compile" ())
+
(define-derived-mode inferior-octave-mode comint-mode "Inferior Octave"
"Major mode for interacting with an inferior Octave process."
:abbrev-table octave-abbrev-table
@@ -713,19 +715,20 @@
(setq comint-input-ring-file-name
(or (getenv "OCTAVE_HISTFILE") "~/.octave_hist")
comint-input-ring-size (or (getenv "OCTAVE_HISTSIZE") 1024))
+ (comint-read-input-ring t)
(setq-local comint-dynamic-complete-functions
inferior-octave-dynamic-complete-functions)
(setq-local comint-prompt-read-only inferior-octave-prompt-read-only)
(add-hook 'comint-input-filter-functions
'inferior-octave-directory-tracker nil t)
- (comint-read-input-ring t)
;; http://thread.gmane.org/gmane.comp.gnu.octave.general/48572
(add-hook 'window-configuration-change-hook
'inferior-octave-track-window-width-change nil t)
(setq-local compilation-error-regexp-alist
inferior-octave-error-regexp-alist)
(setq-local compilation-mode-font-lock-keywords
inferior-octave-compilation-font-lock-keywords)
- (compilation-shell-minor-mode 1))
+ (compilation-shell-minor-mode 1)
+ (compilation-forget-errors))
;;;###autoload
(defun inferior-octave (&optional arg)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r114523: * progmodes/octave.el (inferior-octave-mode): Call,
Leo Liu <=