diff options
author | 2023-08-24 19:07:33 +0200 | |
---|---|---|
committer | 2023-08-24 19:07:33 +0200 | |
commit | 6705b62e470851e81dfe3494d09dd86540b8c8a1 (patch) | |
tree | d47c43a770cfcb0ebe39e36fb8261fcfa5260ad1 | |
parent | Avoid redefining delete-trailing-whitespace (diff) | |
download | ebuild-mode-6705b62e470851e81dfe3494d09dd86540b8c8a1.tar.gz ebuild-mode-6705b62e470851e81dfe3494d09dd86540b8c8a1.tar.bz2 ebuild-mode-6705b62e470851e81dfe3494d09dd86540b8c8a1.zip |
Fix byte-compiler warning for glep-mode.el
* glep-mode.el (glep-mode-format-html): Move docstring to the top.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | glep-mode.el | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2023-08-24 Ulrich Müller <ulm@gentoo.org> + + * glep-mode.el (glep-mode-format-html): Move docstring to the top. + 2023-08-20 Ulrich Müller <ulm@gentoo.org> * ebuild-mode.el (ebuild-mode-delete-trailing-whitespace): diff --git a/glep-mode.el b/glep-mode.el index 1ba2144..200790c 100644 --- a/glep-mode.el +++ b/glep-mode.el @@ -172,9 +172,9 @@ to `font-lock-end'." ;;; Generate HTML from GLEP. (defun glep-mode-format-html () - (interactive) "Generate HTML from reStructuredText GLEP file. Calls the external \"glep\" command." + (interactive) (or buffer-file-name (error "No file for this buffer")) (let* ((rst-file (file-relative-name buffer-file-name)) |