it's handy to be able to do C-x C-j (dired-jump) repeatedly to
navigate upwards starting from a buffer, and follows GNU Emacs
behaviour too.
-/* $OpenBSD: dired.c,v 1.103 2024/06/04 06:48:34 op Exp $ */
+/* $OpenBSD: dired.c,v 1.104 2024/06/04 06:51:15 op Exp $ */
/* This file is in the public domain. */
for (i = 0; i <= curbp->b_nmodes; i++) {
modename = curbp->b_modes[i]->p_name;
if (strncmp(modename, "dired", 5) == 0)
- return (dobeep_msg("In dired mode already"));
+ return (d_updirectory(f, n));
}
if (getbufcwd(dname, sizeof(dname)) != TRUE)