]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.cpp
LFUN_SERVER_GET_NAME -> LFUN_SERVER_GET_FILENAME.
[lyx.git] / src / LyXAction.cpp
index 0dd1f39df05c544fabbd4a93691ee6505e5506e1..7b9e95bc06e24586e0f9c89372b6a89cbb82badf 100644 (file)
@@ -2314,7 +2314,13 @@ void LyXAction::init()
 
                { LFUN_SERVER_CHAR_AFTER, "server-char-after", ReadOnly, System },
                { LFUN_SERVER_GET_LAYOUT, "server-get-layout", ReadOnly, System },
-               { LFUN_SERVER_GET_NAME, "server-get-name", ReadOnly, System },
+/*!
+ * \var lyx::FuncCode lyx::LFUN_SERVER_GET_FILENAME
+ * \li Action: Returns path and file name of the currently edited document.
+ * \li Syntax: server-get-filename
+ * \endvar
+ */
+               { LFUN_SERVER_GET_FILENAME, "server-get-filename", ReadOnly, System },
 /*!
  * \var lyx::FuncCode lyx::LFUN_SERVER_GOTO_FILE_ROW
  * \li Action: Sets the cursor position based on the row number of generated TeX file.