Jump to content

No Function Definition: VLR-EDITOR-REACTOR


Silvercloak

Recommended Posts

I don't know what's going on, but recently a lisp I have in my startup suite to force AutoSaving to stay active is no longer working.  I keep getting the error;

 

no function definition: VLR-EDITOR-REACTOR

 

Googling has yielded me nothing.  I really don't know what else left to do - so I'm hoping someone with experience here can help.  Here is the lisp;

 

(defun C:ALERTME ()
(vl-load-com)
(setq VTFRXN (vlr-editor-reactor nil '((:VLR-sysVarChanged . VTF))))
)
;;;
(defun VTF (CALL CALLBACK)
(if (and
(= (strcase (car CALLBACK)) (setq str "SAVETIME"))
(not (eq (getvar str) 15))
)
(progn
(princ (strcat "Warning: Someone or something has changed your Autosave settings.\n" str " has been changed back to 15 minutes"))
(setvar "SAVETIME" 15)
)
)
)
(setvar "SAVETIME" 15)
(c:alertme)
(princ)
(princ "\nAlert Loaded")

 

 

Thanks in advance for any help!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...