[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/ffap.el
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/ffap.el |
Date: |
Sat, 19 Nov 2005 07:18:08 -0500 |
Index: emacs/lisp/ffap.el
diff -c emacs/lisp/ffap.el:1.52 emacs/lisp/ffap.el:1.53
*** emacs/lisp/ffap.el:1.52 Tue Oct 18 09:46:34 2005
--- emacs/lisp/ffap.el Sat Nov 19 12:18:07 2005
***************
*** 1519,1525 ****
(let ((ffap-next-regexp (or ffap-menu-regexp ffap-next-regexp))
(range (- (point-max) (point-min)))
(mod (buffer-modified-p)) ; was buffer modified?
! buffer-read-only ; to set text-properties
item
;; Avoid repeated searches of the *mode-alist:
(major-mode (if (assq major-mode ffap-string-at-point-mode-alist)
--- 1519,1527 ----
(let ((ffap-next-regexp (or ffap-menu-regexp ffap-next-regexp))
(range (- (point-max) (point-min)))
(mod (buffer-modified-p)) ; was buffer modified?
! ;; inhibit-read-only works on read-only text properties
! ;; as well as read-only buffers.
! (inhibit-read-only t) ; to set text-properties
item
;; Avoid repeated searches of the *mode-alist:
(major-mode (if (assq major-mode ffap-string-at-point-mode-alist)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/ffap.el,
Eli Zaretskii <=