The Q&A How to unset an notebook option programmatically? nearly asks the same question, but the focus there is on how to unset an option that has been given a value. I just want to undo a mistake I made by setting an option that does not exist:
SetOptions[EvaluationNotebook, Foo -> Bar]
Foo -> Bar option does not seem to interfere with the working of the notebook or Mathematica, I'd like to clean up this mistake.
I'd like to keep the other notebook option settings, so copy-pasting the contents would not work exactly as I would like (a method mention in the linked Q&A). Of course I could copy the desired options, too. I'm hoping for a more straightforward solution.
(In fact, in the actual use case, the setting was some data to be stored in
TaggingRules. Now the data appear twice in the notebook options, more or less; the
TaggingRules version is the up-to-date one.)