[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9511: Moving the point to / with C-M-f and C-M-b when reading a file
From: |
Stefan Monnier |
Subject: |
bug#9511: Moving the point to / with C-M-f and C-M-b when reading a filename from minibuffer |
Date: |
Thu, 15 Sep 2011 09:03:30 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> + (when (and syntax
> + (eq (car syntax)
> + punctuation))
If syntax is nil, (car syntax) is nil, so the above is equivalent to
(when (eq (car syntax) punctuation)
> + (let* ((cons? (consp cc))
> + (begin (if cons? (car cc) cc))
> + (end (if cons? (cdr cc) begin))
> + (c begin))
> + (while (<= c end)
> + (modify-syntax-entry c "_" table)
> + (setq c (1+ c))))))
Aka (modify-syntax-entry cc "_" table), since it accepts the same "cons
to represent a range" convention ;-)
Stefan