emacs-devel
[Top][All Lists]
Advanced

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

Re: wrap-search 3.3.5


From: Emanuel Berg
Subject: Re: wrap-search 3.3.5
Date: Fri, 26 Aug 2022 00:23:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>   (defun show-prev-str ()
>     (let*((short (truncate-string-to-width prev-str 10))
>           (str   (format "%s%s" short
>                                   (when (not (string= short prev-str))
>                                     "...") )))
>       str) )

Is now in version 4.5.7

(defun show-prev-str ()
    (let*((short (truncate-string-to-width prev-str 10))
          (str   (format "%s%s" short
                                (if (not (string= short prev-str))
                                    "..."
                                  "") )))
      str) )

https://dataswamp.org/~incal/emacs-init/wrap-search.el

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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