branch: elpa/dockerfile-mode commit cd102cffa11a0557b1c04651e8cbd53fe01fbb92 Merge: 69bfba7acc e6d5598bf0 Author: Drew Csillag <d...@thecsillags.com> Commit: GitHub <nore...@github.com>
Merge pull request #34 from wynro/master Collection of stylistical fixes --- dockerfile-mode.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dockerfile-mode.el b/dockerfile-mode.el index ca131af588..c011eef96a 100644 --- a/dockerfile-mode.el +++ b/dockerfile-mode.el @@ -43,7 +43,9 @@ :group 'dockerfile) (defcustom dockerfile-use-sudo nil - "Runs docker builder command with sudo.") + "Runs docker builder command with sudo." + :type 'boolean + :group 'dockerfile) (defcustom dockerfile-build-args nil "List of --build-arg to pass to docker build. @@ -63,7 +65,7 @@ Each element of the list will be passed as a separate ,@(sh-font-lock-keywords) ,@(sh-font-lock-keywords-2) ,@(sh-font-lock-keywords-1)) - "Default font-lock-keywords for `dockerfile mode'.") + "Default `font-lock-keywords' for `dockerfile mode'.") (defvar dockerfile-mode-map (let ((map (make-sparse-keymap)) @@ -105,9 +107,9 @@ Each element of the list will be passed as a separate dockerfile-build-args " ")) (defun dockerfile-standard-filename (file) - "Convert the file name to OS standard. + "Convert the FILE name to OS standard. If in Cygwin environment, uses Cygwin specific function to convert the -file name. Otherwise, uses Emacs' standard conversion function." +file name. Otherwise, uses Emacs' standard conversion function." (if (fboundp 'cygwin-convert-file-name-to-windows) (s-replace "\\" "\\\\" (cygwin-convert-file-name-to-windows file)) (convert-standard-filename file)))