> From: Gavin Smith <[email protected]> > Date: Wed, 5 Sep 2018 20:30:39 +0100 > Cc: [email protected] > > It is a bug. I simplified the input to > > @defop {Constructor} a b (@code{const std::vector<int>&}) > @end defop > > to get an error. It is due to some code in texinfo.tex to change > the font used for parentheses if an & is seen in the line - something to > do with documentation of functions in Lisp. (See \ifampseen conditional > in texinfo.tex.) I haven't worked out what the point of this was yet. If > there is no point, it would be easy to fix by ripping the code out.
The point is to support optional arguments to Lisp functions, like this: @defun set-input-mode interrupt flow meta &optional quit-char and also like this: @defun notifications-notify &rest params You can see such examples all over the Emacs Lisp Reference manual that comes with Emacs. If we can distinguish & followed by a letter from everything else, this problem can be fixed, I think.
