branch: scratch/editorconfig-cc commit 1e084799c03102f7ea31e90dc58d14ac75285738 Author: 10sr <8.slas...@gmail.com> Commit: Stefan Monnier <monn...@iro.umontreal.ca>
Update docstrings --- editorconfig.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/editorconfig.el b/editorconfig.el index 91f23bd6a8..8e82c3af7c 100644 --- a/editorconfig.el +++ b/editorconfig.el @@ -558,7 +558,9 @@ any of regexps in `editorconfig-exclude-regexps'." (defun editorconfig--advice-insert-file-contents (f filename &rest args) "Set `coding-system-for-read'. -This function should be adviced to `insert-file-contents'" + +This function should be added as an advice function to `insert-file-contents'. +F is that function, and FILENAME and ARGS are arguments passed to F." (display-warning '(editorconfig editorconfig--advice-insert-file-contents) (format "filename: %S args: %S codingsystem: %S bufferfilename: %S" filename args @@ -582,8 +584,8 @@ This function should be adviced to `insert-file-contents'" (defun editorconfig--advice-find-file-noselect (f filename &rest args) "Get EditorConfig properties and apply them to buffer to be visited. -This function should be adviced to `find-file-noselect'. -F is this function, and FILENAME and ARGS are arguments passed to F." +This function should be added as an advice function to `find-file-noselect'. +F is that function, and FILENAME and ARGS are arguments passed to F." (let ((props nil) (coding-system nil) (ret nil))