closing a named buffer?

Dr Eberhard Lisse nospam at lisse.NA
Wed Dec 14 15:52:15 UTC 2022


Hi,

I can easily close the current buffer with a command like (on the mac)

   LYXPIPE=$(find ~/Library/Application\ Support ~/.lyx \
      -name .lyxpipe.in 2>/dev/null | head -1)	
   echo "LYXCMD:P2:buffer-close" > "$LYXPIPE"

Is it possible to close a named buffer even another was "active" using
the LYXPIPE mechanism?

Let's say the file names I am editing are a.lyx and b.lyx, and a.lyx is
in front, how would I close b.lyx while keeping a.lyx in front/active?

I am willing to RTFM :-)-O

el

-- 
To email me replace 'nospam' with 'el'



More information about the lyx-users mailing list