bibtex-autokey-before-presentation-function

bibtex-autokey-before-presentation-function is a variable defined in `bibtex.el'.
Its value is
nil

  • This variable may be risky if used as a file-local variable.

Documentation:
If non-nil, function to call before generated key is presented.
The function must take one argument (the automatically generated key),
and must return a string (the key to use).

You can customize this variable.