[Top][All Lists]

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

bug#13945: `abreviated-home-dir' isn't documented

From: npostavs
Subject: bug#13945: `abreviated-home-dir' isn't documented
Date: Sat, 01 Apr 2017 21:59:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

tags 13945 notabug
close 13945

Xue Fuqiao <address@hidden> writes:

> In the source code of `command-line':
>   ;; Force recomputation, in case it was computed during the dump.
>   (setq abbreviated-home-dir nil)
> The variable `abbreviated-home-dir' (which is defined in files.el) is
> not documented in elisp manual. (Maybe there isn't a need?)

It doesn't need to be documented in the elisp manual, the docstring
should be enough.

> BTW what does the expression above do?  I had searched loadup.el and
> some other files in `lisp/', but I didn't find anything useful.

It forces abbreviated-home-dir to be recomputed next time
abbreviate-file-name is called.

    (defun abbreviate-file-name (filename)
          (or abbreviated-home-dir
              (setq abbreviated-home-dir

reply via email to

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