]> code.delx.au - gnu-emacs/blobdiff - lisp/cedet/srecode/fields.el
lisp/emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
[gnu-emacs] / lisp / cedet / srecode / fields.el
index 7515717a041958173081e16304ce6a3cc96b8854..f473a0d82610fab0bd133da62b1a13cd505de258 100644 (file)
@@ -1,6 +1,6 @@
 ;;; srecode/fields.el --- Handling type-in fields in a buffer.
 ;;
-;; Copyright (C) 2009-2014 Free Software Foundation, Inc.
+;; Copyright (C) 2009-2015 Free Software Foundation, Inc.
 ;;
 ;; Author: Eric M. Ludlam <eric@siege-engine.com>
 
@@ -237,7 +237,7 @@ If SET-TO is a string, then replace the text of OLAID wit SET-TO."
 
 (defsubst srecode-active-template-region ()
   "Return the active region for template fields."
-  (oref srecode-template-inserted-region active-region))
+  (oref-default 'srecode-template-inserted-region active-region))
 
 (defun srecode-field-post-command ()
   "Srecode field handler in the post command hook."