* bug#13945: `abreviated-home-dir' isn't documented
@ 2013-03-13 7:57 Xue Fuqiao
2017-04-02 1:59 ` npostavs
0 siblings, 1 reply; 2+ messages in thread
From: Xue Fuqiao @ 2013-03-13 7:57 UTC (permalink / raw)
To: 13945
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?)
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.
--
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#13945: `abreviated-home-dir' isn't documented
2013-03-13 7:57 bug#13945: `abreviated-home-dir' isn't documented Xue Fuqiao
@ 2017-04-02 1:59 ` npostavs
0 siblings, 0 replies; 2+ messages in thread
From: npostavs @ 2017-04-02 1:59 UTC (permalink / raw)
To: Xue Fuqiao; +Cc: 13945
tags 13945 notabug
close 13945
quit
Xue Fuqiao <xfq.free@gmail.com> 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
...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-02 1:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-13 7:57 bug#13945: `abreviated-home-dir' isn't documented Xue Fuqiao
2017-04-02 1:59 ` npostavs
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.