The situation I have is this. First, I run
(require 'prolog)
...which loads the system's default version of prolog.el, and makes the variable prolog-mode-version available. It has value "1.22".
Now, I know that my personal copy of this package, in /path/to/my/own/private/prolog.el, starts with
(defvar prolog-mode-version "1.25"
"Prolog mode version number")
So I run
(load "/path/to/my/own/private/prolog.el")
...expecting that, after doing so, prolog-mode-version will now have value "1.25".
This is not what happens, though: according to describe-variable at least, the value of prolog-mode-version is still "1.22".
What must I need to do to (re-)load 'prolog from /path/to/my/own/private/prolog.el?
defvars (anddefcustoms, which usedefvar) can only be defined once. To re-evaluate adefvar, place point over it andeval-defun(C-M-x). – Tianxiang Xiong Feb 27 '17 at 17:22evalthe whole file, since there's a ton of otherdefvars in there... I never expected this to be such a nightmare... – kjo Feb 27 '17 at 17:31