From fc71c376546ed01060200de91d007f2a179bc601 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Mon, 25 Jul 2016 21:01:00 -0400 Subject: bog-file-secondary-name: Use period instead of hyphen A hyphen is considered a word character according to bog-citekey-syntax-table, which makes bog-list-orphan-files falsely recognize secondary files as orphans. This has been an issue since 0e685a3 (Specify syntax table around all citekey regexp uses, 2016-05-23). --- bog.el | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'bog.el') diff --git a/bog.el b/bog.el index 0bcc29a..4c5ae25 100644 --- a/bog.el +++ b/bog.el @@ -187,13 +187,19 @@ arguments and return the name of the final file. Currently the only built-in function is `bog-file-ask-on-conflict'." :type 'function) -(defcustom bog-file-secondary-name "-supplement" +(defcustom bog-file-secondary-name ".supplement" "Modification to make to file name on renaming confict. + If . already exists, `bog-file-ask-on-conflict' prompts for another name. `bog-file-secondary-name'. is the default value for -the prompt." - :type 'string) +the prompt. + +For `bog-list-orphan-files' to work correctly, the first +character should be a non-word character according to +`bog-citekey-syntax-table'." + :type 'string + :package-version '(bog . "1.3.0")) (defcustom bog-web-search-url "http://scholar.google.com/scholar?q=%s" -- cgit v1.2.3