summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-09-05 02:53:42 -0400
committerKyle Meyer <kyle@kyleam.com>2015-09-05 02:59:23 -0400
commita0c6f836d44d9813115f9add97b335e98558dffa (patch)
treef43466198897318b8c81872c724141192bbc0e16
parent3eb47001ddf7879bf591f04468d8ebc9cbe2a932 (diff)
downloadbog-a0c6f836d44d9813115f9add97b335e98558dffa.tar.gz
bog-{previous,next}-non-heading-citekey: Cosmetics
-rw-r--r--bog.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/bog.el b/bog.el
index 266eac6..201457a 100644
--- a/bog.el
+++ b/bog.el
@@ -1189,7 +1189,7 @@ context fails."
"Move foward to next non-heading citekey.
With argument ARG, do it ARG times."
(interactive "p")
- (or arg (setq arg 1))
+ (setq arg (or arg 1))
(if (< arg 0)
(bog-previous-non-heading-citekey (- arg))
(with-syntax-table bog-citekey-syntax-table
@@ -1206,7 +1206,7 @@ With argument ARG, do it ARG times."
"Move backward to previous non-heading citekey.
With argument ARG, do it ARG times."
(interactive "p")
- (or arg (setq arg 1))
+ (setq arg (or arg 1))
(with-syntax-table bog-citekey-syntax-table
(let (case-fold-search)
(while (and (> arg 0)