aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2020-01-23 18:42:02 -0800
committerGlenn Morris2020-01-23 18:42:02 -0800
commit04ca1a1e080df1801f5ad8e9bc7d4cf68661ca5f (patch)
tree8384a3b463bba22c3eaccc1430f2b2547aa12f75
parent963a9ffd66cb29f0370e9a4b854dddda242c54a6 (diff)
downloademacs-04ca1a1e080df1801f5ad8e9bc7d4cf68661ca5f.tar.gz
emacs-04ca1a1e080df1801f5ad8e9bc7d4cf68661ca5f.zip
Make so-long test pass following lisp-mnt change
* lisp/so-long.el (so-long-commentary): Update for lisp-mnt change.
-rw-r--r--lisp/so-long.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/so-long.el b/lisp/so-long.el
index dcf7e62ca74..6b05f4821b1 100644
--- a/lisp/so-long.el
+++ b/lisp/so-long.el
@@ -353,7 +353,7 @@
353;; this caveat is the `mode' pseudo-variable, which is processed early in all 353;; this caveat is the `mode' pseudo-variable, which is processed early in all
354;; versions of Emacs, and can be set to `so-long-mode' if desired. 354;; versions of Emacs, and can be set to `so-long-mode' if desired.
355 355
356;;; * Change Log: 356;; * Change Log:
357;; 357;;
358;; 1.0 - Included in Emacs 27.1, and in GNU ELPA for prior versions of Emacs. 358;; 1.0 - Included in Emacs 27.1, and in GNU ELPA for prior versions of Emacs.
359;; - New global mode `global-so-long-mode' to enable/disable the library. 359;; - New global mode `global-so-long-mode' to enable/disable the library.
@@ -944,8 +944,10 @@ This command calls `so-long' with the selected action as an argument.")
944 (cl-letf (((symbol-function 'finder-summary) #'ignore)) 944 (cl-letf (((symbol-function 'finder-summary) #'ignore))
945 (finder-commentary "so-long")) 945 (finder-commentary "so-long"))
946 (let ((inhibit-read-only t)) 946 (let ((inhibit-read-only t))
947 (when (looking-at "^Commentary:\n\n") 947 (if (looking-at "^Commentary:\n\n")
948 (replace-match "so-long.el\n\n")) 948 (replace-match "so-long.el\n\n")
949 (insert "so-long.el\n")
950 (forward-line 1))
949 (save-excursion 951 (save-excursion
950 (while (re-search-forward "^-+$" nil :noerror) 952 (while (re-search-forward "^-+$" nil :noerror)
951 (replace-match "")))) 953 (replace-match ""))))