1

According to the docu of Bookmark+ this code:

(bmkp-dired-jump BOOKMARK-NAME &optional FLIP-USE-REGION-P)

should allow to quickly jump to a dired buffer that has been bookmarked.

I try to eval (bmkp-dired-jump d_zh_tmp)
thinking it should jump to a bookmark called d_zh_tmp but instead I get an error:

eval-buffer: Symbol's value as variable is void: d_zh_tmp

Any clue what I'm missing here?

1 Answer 1

1

The bmkp-dired-jump function evaluates its argument; the literal bookmark name therefore needs to be enclosed in quotation marks.

(bmkp-dired-jump "d_zh_tmp")

Alternatively, you could set the argument equal to a variable, whose value is that string.

(setq d_zh_tmp_var "d_zh_tmp")
(bmkp-dired-jump d_zh_tmp_var)
2
  • Ye. All Emacs-Lisp functions evaluate all of their arguments. (Some special forms and macros do not evaluate all of their arguments.)
    – Drew
    Commented Mar 25, 2016 at 15:40
  • thx! this works
    – zeltak
    Commented Mar 25, 2016 at 16:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.