diff options
| author | RĂ¼diger Sonderfeld | 2013-09-30 09:13:19 +0800 |
|---|---|---|
| committer | Leo Liu | 2013-09-30 09:13:19 +0800 |
| commit | 481a8e0f453026bdb4ab3c81e783f17060d892b0 (patch) | |
| tree | 6983ace2157fde1c21b60f681f0481be6cbd22a1 | |
| parent | 056453c62ebfdcea2764fdaba09a89d0e533ec1d (diff) | |
| download | emacs-481a8e0f453026bdb4ab3c81e783f17060d892b0.tar.gz emacs-481a8e0f453026bdb4ab3c81e783f17060d892b0.zip | |
* progmodes/octave.el (inferior-octave-startup-file): Prefer
~/.emacs.d/init_octave.m.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/octave.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3e689f443ce..4eb0e7ec584 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-09-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de> | ||
| 2 | |||
| 3 | * progmodes/octave.el (inferior-octave-startup-file): Prefer | ||
| 4 | ~/.emacs.d/init_octave.m. | ||
| 5 | |||
| 1 | 2013-09-29 Dmitry Gutov <dgutov@yandex.ru> | 6 | 2013-09-29 Dmitry Gutov <dgutov@yandex.ru> |
| 2 | 7 | ||
| 3 | * emacs-lisp/package.el (package-desc-from-define): Accept | 8 | * emacs-lisp/package.el (package-desc-from-define): Accept |
diff --git a/lisp/progmodes/octave.el b/lisp/progmodes/octave.el index 899f2752a7e..51cee8b2989 100644 --- a/lisp/progmodes/octave.el +++ b/lisp/progmodes/octave.el | |||
| @@ -609,8 +609,8 @@ See `comint-prompt-read-only' for details." | |||
| 609 | :version "24.4") | 609 | :version "24.4") |
| 610 | 610 | ||
| 611 | (defcustom inferior-octave-startup-file | 611 | (defcustom inferior-octave-startup-file |
| 612 | (convert-standard-filename | 612 | (let ((n (file-name-nondirectory inferior-octave-program))) |
| 613 | (concat "~/.emacs-" (file-name-nondirectory inferior-octave-program))) | 613 | (locate-user-emacs-file (format "init_%s.m" n) (format ".emacs-%s" n))) |
| 614 | "Name of the inferior Octave startup file. | 614 | "Name of the inferior Octave startup file. |
| 615 | The contents of this file are sent to the inferior Octave process on | 615 | The contents of this file are sent to the inferior Octave process on |
| 616 | startup." | 616 | startup." |