Bonjour,
J'ai trouvé un bout de code qui ma plaît bien pour passer d'un buffer à
l'autre. Il définit « switch-to-previous-buffer ». Je voudrais définir
de la manière « switch-to-next-buffer ». Comme je ne comprends rien au
code, je n'y arrive pas... il ne doit pourtant pas y avoir grand chose à
modifier dans la fonction initiale.
Merci.
Romain
(defun not-a-buffer-i-want (bufname)
;; t if bufname starts and ends with a *
;; Or bufname starts with a space (invisible)
;; nil else
(or (string-equal (substring bufname 0 1) " ")
(and (string-equal (substring bufname 0 1) "*")
(string-equal (substring bufname -1) "*"))))