emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 66a2c41 2/2: Fix a few minor compilation and Checkd


From: Philipp Stephani
Subject: [Emacs-diffs] master 66a2c41 2/2: Fix a few minor compilation and Checkdoc warnings.
Date: Sun, 28 Apr 2019 11:15:43 -0400 (EDT)

branch: master
commit 66a2c412be0dd21e3adeb766a44cc13fd80ba73c
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>

    Fix a few minor compilation and Checkdoc warnings.
    
    * test/src/emacs-module-tests.el: Add package name and standard
    sections.
    (multiply-string): Add a docstring.
---
 test/src/emacs-module-tests.el | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/test/src/emacs-module-tests.el b/test/src/emacs-module-tests.el
index 40afd76..51330e3 100644
--- a/test/src/emacs-module-tests.el
+++ b/test/src/emacs-module-tests.el
@@ -1,4 +1,4 @@
-;;; Test GNU Emacs modules.  -*- lexical-binding: t; -*-
+;;; emacs-module-tests --- Test GNU Emacs modules.  -*- lexical-binding: t; -*-
 
 ;; Copyright 2015-2019 Free Software Foundation, Inc.
 
@@ -17,6 +17,14 @@
 ;; You should have received a copy of the GNU General Public License
 ;; along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.  */
 
+;;; Commentary:
+
+;; Unit tests for the dynamic module facility.  See Info node `(elisp)
+;; Writing Dynamic Modules'.  These tests make use of a small test
+;; module in test/data/emacs-module.
+
+;;; Code:
+
 (require 'cl-lib)
 (require 'ert)
 (require 'help-fns)
@@ -137,6 +145,7 @@ changes."
 ;;
 
 (defun multiply-string (s n)
+  "Return N copies of S concatenated together."
   (let ((res ""))
     (dotimes (i n)
       (setq res (concat res s)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]