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

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

About `name' in loadup.el


From: Xue Fuqiao
Subject: About `name' in loadup.el
Date: Sun, 10 Mar 2013 08:11:24 +0800

In lisp/loadup.el:

  (let ((name (concat "emacs-" emacs-version)))
    (while (string-match "[^-+_.a-zA-Z0-9]+" name)
      (setq name (concat (downcase (substring name 0 (match-beginning 0)))
                       "-"
                       (substring name (match-end 0)))))
    (message "Adding name %s" name)
    (add-name-to-file "emacs" name t))

I'm confused here.  What does this fragment of code do?  And when will
characters other than "-+_.a-zA-Z0-9" be in `emacs-version'?  Can
anybody help?  Thanks.

-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao



reply via email to

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