File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 353
353
; ; this caveat is the `mode' pseudo-variable, which is processed early in all
354
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
358
; ; 1.0 - Included in Emacs 27.1, and in GNU ELPA for prior versions of Emacs.
359
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
944
(cl-letf (((symbol-function 'finder-summary ) #'ignore ))
945
945
(finder-commentary " so-long" ))
946
946
(let ((inhibit-read-only t ))
947
- (when (looking-at " ^Commentary:\n\n " )
948
- (replace-match " so-long.el\n\n " ))
947
+ (if (looking-at " ^Commentary:\n\n " )
948
+ (replace-match " so-long.el\n\n " )
949
+ (insert " so-long.el\n " )
950
+ (forward-line 1 ))
949
951
(save-excursion
950
952
(while (re-search-forward " ^-+$" nil :noerror )
951
953
(replace-match " " ))))
You can’t perform that action at this time.
0 commit comments