help-gnu-emacs
[Top][All Lists]
Advanced

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

weird "introduced at" message?


From: Emanuel Berg
Subject: weird "introduced at" message?
Date: Mon, 14 Dec 2020 06:15:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

I have this Elisp [last in post] and when I do `C-h f c' it
says

  c is an alias for ‘streets-complete’ in ‘street.el’.

  (c)

    Probably introduced at or before Emacs version 1.2.

  Not documented.

that early, huh?

What can I say - I'm oldschool :)

Nah, a bug, right?

;;; -*- lexical-binding: t -*-
;;;
;;; this file:
;;;   http://user.it.uu.se/~embe8573/emacs-init/street.el
;;;   https://dataswamp.org/~incal/emacs-init/street.el
;;;
;;; use with:
;;;   https://dataswamp.org/~incal/GATOR

(defun streets-complete ()
  (interactive)
  (let*((beg         (point-min))
        (num-visited (how-many "^;; i" beg))
        (total       (how-many "^;; ." beg))
        (percent     (* 100 (/ num-visited total 1.0)))
        (output      (format "%d %.1f%%" num-visited percent)) )
    (message "%s" output) ))
(defalias 'c #'streets-complete)

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

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