emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r112446: * progmodes/octave.el (user-


From: Leo Liu
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112446: * progmodes/octave.el (user-error): Alias to error if not defined.
Date: Fri, 03 May 2013 15:52:17 +0800
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 112446
committer: Leo Liu <address@hidden>
branch nick: trunk
timestamp: Fri 2013-05-03 15:52:17 +0800
message:
  * progmodes/octave.el (user-error): Alias to error if not defined.
modified:
  lisp/ChangeLog
  lisp/progmodes/octave.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-05-03 07:22:26 +0000
+++ b/lisp/ChangeLog    2013-05-03 07:52:17 +0000
@@ -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  <address@hidden>
 

=== modified file 'lisp/progmodes/octave.el'
--- a/lisp/progmodes/octave.el  2013-05-03 07:22:26 +0000
+++ b/lisp/progmodes/octave.el  2013-05-03 07:52:17 +0000
@@ -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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]