summaryrefslogtreecommitdiffstats
path: root/LICENSE-CYG
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2024-11-14 18:23:49 -0800
committerKaz Kylheku <kaz@kylheku.com>2024-11-14 18:23:49 -0800
commit0bbcfdeac48bd39192c8fe3f54ed77c07782e493 (patch)
tree5f8d361b93c34695caa54ea2b8bf2a4410bd5536 /LICENSE-CYG
parent985da46414c246d1dc94e5b6f40899c9159e2d0e (diff)
downloadtxr-0bbcfdeac48bd39192c8fe3f54ed77c07782e493.tar.gz
txr-0bbcfdeac48bd39192c8fe3f54ed77c07782e493.tar.bz2
txr-0bbcfdeac48bd39192c8fe3f54ed77c07782e493.zip
switch to .txr-profile and .txr-history
The profile and history files should have used hyphens from the beginning. Let's switch to that but continue to work with the old files if present, as an obsolescent feature. * parser.c (open_txr_file): Treat files with .txr-profile suffix as Lisp. (load_rcfile): Arguments rearranged. This function now needs the home directory and the existence test function, but does not need the profile file name. It tries .txr-profile first, then .txr-profile. (repl): Call load_rcfile in the new way. Try two history files: first .txr-history and then .txr_history. Remember which one was used so the same one is saved. If neither file existed at startup, then save new history into .txr-history. * txr.1: Documented.
Diffstat (limited to 'LICENSE-CYG')
0 files changed, 0 insertions, 0 deletions