[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
auto-insert generates file names with concat instead of expand-file-name
From: |
Kevin Rodgers |
Subject: |
auto-insert generates file names with concat instead of expand-file-name |
Date: |
Wed, 14 Jul 2004 12:04:21 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
*** emacs-21.3/lisp/autoinsert.el~ Fri Aug 2 11:56:49 2002
--- emacs-21.3/lisp/autoinsert.el Wed Jul 14 12:02:12 2004
***************
*** 233,239 ****
;; Now, if we found something, do it
(and action
(if (stringp action)
! (file-readable-p (concat auto-insert-directory action))
t)
(if auto-insert-query
(or (if (eq auto-insert-query 'function)
--- 233,240 ----
;; Now, if we found something, do it
(and action
(if (stringp action)
! (file-readable-p
! (expand-file-name action auto-insert-directory))
t)
(if auto-insert-query
(or (if (eq auto-insert-query 'function)
***************
*** 244,250 ****
(lambda (action)
(if (stringp action)
(if (file-readable-p
!
(setq action (concat auto-insert-directory action)))
(insert-file-contents action))
(save-window-excursion
;; make buffer visible before skeleton or function
--- 245,252 ----
(lambda (action)
(if (stringp action)
(if (file-readable-p
!
(setq action
!
(expand-file-name action auto-insert-directory)))
(insert-file-contents action))
(save-window-excursion
;; make buffer visible before skeleton or function
--
Kevin Rodgers
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- auto-insert generates file names with concat instead of expand-file-name,
Kevin Rodgers <=