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?


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)
| improve this answer | |
  • Ye. All Emacs-Lisp functions evaluate all of their arguments. (Some special forms and macros do not evaluate all of their arguments.) – Drew Mar 25 '16 at 15:40
  • thx! this works – zeltak Mar 25 '16 at 16:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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