aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-09-29 03:37:03 +0000
committerGlenn Morris2009-09-29 03:37:03 +0000
commit8360fce0aa00987109b93b5b1e6d8f7b91e76997 (patch)
treec36d832cf0b9b27d1ac0bb8bd03440f5f066063e
parentdab8f2791c1297bc16200a811c15fadc24fa0d6c (diff)
downloademacs-8360fce0aa00987109b93b5b1e6d8f7b91e76997.tar.gz
emacs-8360fce0aa00987109b93b5b1e6d8f7b91e76997.zip
(check-declare-locate): Remove pointless file-name-nondirectory call
preventing location of cedet files. (check-declare-verify): Use literal search rather than re-search.
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/emacs-lisp/check-declare.el4
2 files changed, 10 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index df4cec1f59e..b486ab5f6ae 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -12,6 +12,14 @@
12 12
132009-09-29 Glenn Morris <rgm@gnu.org> 132009-09-29 Glenn Morris <rgm@gnu.org>
14 14
15 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16 file-name-nondirectory call preventing location of cedet files.
17 (check-declare-verify): Use literal search rather than re-search.
18
19 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
20 Use tramp-compat-file-attributes rather than nonexistent
21 tramp-compat-handle-file-attributes.
22
15 * Makefile.in (lisptagsfiles4): New. 23 * Makefile.in (lisptagsfiles4): New.
16 (AUTOGENEL): Add cedet loaddefs files. 24 (AUTOGENEL): Add cedet loaddefs files.
17 (TAGS, TAGS-LISP): Use $lisptagsfiles4. 25 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
diff --git a/lisp/emacs-lisp/check-declare.el b/lisp/emacs-lisp/check-declare.el
index 6b77dc1bdb4..1251699f8f1 100644
--- a/lisp/emacs-lisp/check-declare.el
+++ b/lisp/emacs-lisp/check-declare.el
@@ -54,7 +54,7 @@ the result."
54 (setq file 54 (setq file
55 (if (member (file-name-extension file) '("c" "m")) 55 (if (member (file-name-extension file) '("c" "m"))
56 (expand-file-name file (expand-file-name "src" source-directory)) 56 (expand-file-name file (expand-file-name "src" source-directory))
57 (if (setq tfile (locate-library (file-name-nondirectory file))) 57 (if (setq tfile (locate-library file))
58 (progn 58 (progn
59 (setq tfile 59 (setq tfile
60 (replace-regexp-in-string "\\.elc\\'" ".el" tfile)) 60 (replace-regexp-in-string "\\.elc\\'" ".el" tfile))
@@ -158,7 +158,7 @@ ine-\\(?:derived\\|generic\\|\\(?:global\\(?:ized\\)?-\\)?minor\\)-mode\
158 ;; sig = 'err means we could not find an arglist. 158 ;; sig = 'err means we could not find an arglist.
159 sig (cond (cflag 159 sig (cond (cflag
160 (or 160 (or
161 (when (re-search-forward "," nil t 3) 161 (when (search-forward "," nil t 3)
162 (skip-chars-forward " \t\n") 162 (skip-chars-forward " \t\n")
163 ;; Assuming minargs and maxargs on same line. 163 ;; Assuming minargs and maxargs on same line.
164 (when (looking-at "\\([0-9]+\\)[ \t]*,[ \t]*\ 164 (when (looking-at "\\([0-9]+\\)[ \t]*,[ \t]*\