Skip to content

Commit 0ed71c2

Browse files
committed
Fix byte-compilation warnings
Add declare-function for org-edit-src-save and edit-indirect--commit to suppress unknown-function warnings. Also wrap a long docstring line in super-save-all-buffers.
1 parent 9bd0ce1 commit 0ed71c2

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

super-save.el

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535

3636
(require 'seq)
3737

38+
(declare-function org-edit-src-save "org-src" ())
39+
(declare-function edit-indirect--commit "edit-indirect" ())
40+
3841
(defgroup super-save nil
3942
"Smart-saving of buffers."
4043
:group 'tools
@@ -89,8 +92,9 @@ Setting this to t can be interesting when you make indirect buffer edits, like
8992
when editing `grep' results with `occur-mode' and `occur-edit-mode', or when
9093
running a project-wide search and replace with `project-query-replace-regexp'
9194
and so on. In these cases, we can indirectly edit several buffers without
92-
actually visiting or switching to these buffers. Hence, this option allows you to
93-
automatically save these buffers, even when they aren't visible in any window."
95+
actually visiting or switching to these buffers. Hence, this option
96+
allows you to automatically save these buffers, even when they aren't
97+
visible in any window."
9498
:group 'super-save
9599
:type 'boolean
96100
:package-version '(super-save . "0.4.0"))

0 commit comments

Comments
 (0)