aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog1
-rw-r--r--lisp/progmodes/octave.el3
2 files changed, 4 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d90caded308..a2719a2ebf4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -8,6 +8,7 @@
8 (octave-help-file, octave-help-function): New button types. 8 (octave-help-file, octave-help-function): New button types.
9 (octave-help): New command and bind it to C-h ;. 9 (octave-help): New command and bind it to C-h ;.
10 (octave-find-definition): New command and bind it to M-. 10 (octave-find-definition): New command and bind it to M-.
11 (user-error): Alias to error if not defined.
11 12
122013-05-02 Leo Liu <sdl.web@gmail.com> 132013-05-02 Leo Liu <sdl.web@gmail.com>
13 14
diff --git a/lisp/progmodes/octave.el b/lisp/progmodes/octave.el
index 3fe84030003..10f6007204b 100644
--- a/lisp/progmodes/octave.el
+++ b/lisp/progmodes/octave.el
@@ -36,6 +36,9 @@
36 36
37;;; For emacs < 24.3. 37;;; For emacs < 24.3.
38(require 'newcomment) 38(require 'newcomment)
39(eval-and-compile
40 (unless (fboundp 'user-error)
41 (defalias 'user-error 'error)))
39(eval-when-compile 42(eval-when-compile
40 (unless (fboundp 'setq-local) 43 (unless (fboundp 'setq-local)
41 (defmacro setq-local (var val) 44 (defmacro setq-local (var val)