I'd like to customize this value - it's briefly mentioned in the manual.
How can this be done?
I'd like to customize this value - it's briefly mentioned in the manual.
How can this be done?
I also needed this in order to change the directory-abbrev-list
so that the function abbreviate-file-name
would shorten paths that are not children of my 'home' path.
Managed to do it with the following command, to create an abbreviation from "c:/This/Is/My/path" to "path":
(setq directory-abbrev-alist (cons '("\\`c:/Abbreviate/This/Path" . "abbreviated") directory-abbrev-alist))
appends a new abbreviation, and
(setq directory-abbrev-alist '(("\\`c:/Abbreviate/This/Path" . "abbreviated")))
assigns only one element to the list.
M-x customize-variable
or by adding(setq directory-abbrev-alist ...)
to your~/,emacs
file. So I suggest you give a bit more details about what it is you'd like to do, so we can provide more useful answers. – Stefan Nov 13 '17 at 23:07