Commit d74a1581 authored by Leo Liu's avatar Leo Liu
Browse files

* progmodes/octave.el (user-error): Alias to error if not defined.

parent d4d0f9b3
......@@ -8,6 +8,7 @@
(octave-help-file, octave-help-function): New button types.
(octave-help): New command and bind it to C-h ;.
(octave-find-definition): New command and bind it to M-.
(user-error): Alias to error if not defined.
 
2013-05-02 Leo Liu <sdl.web@gmail.com>
 
......
......@@ -36,6 +36,9 @@
;;; For emacs < 24.3.
(require 'newcomment)
(eval-and-compile
(unless (fboundp 'user-error)
(defalias 'user-error 'error)))
(eval-when-compile
(unless (fboundp 'setq-local)
(defmacro setq-local (var val)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment