diff options
| author | Stefan Monnier | 2010-05-26 10:19:15 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2010-05-26 10:19:15 -0400 |
| commit | 6dc439cbcc563ff10c9ae3cf8069c26664e9bd04 (patch) | |
| tree | 7b03e6d45d123f567fc544f4b0857884e203fd2b | |
| parent | 9841cb4f56bae50c1f31d4fde591a356d3fbf5dc (diff) | |
| download | emacs-6dc439cbcc563ff10c9ae3cf8069c26664e9bd04.tar.gz emacs-6dc439cbcc563ff10c9ae3cf8069c26664e9bd04.zip | |
Avoid (expand-file-name ".").
* org.el (org-file-complete-link):
* progmodes/ada-xref.el (ada-gnat-parse-gpr):
* emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/emulation/edt.el | 16 | ||||
| -rw-r--r-- | lisp/org/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/org/org.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/ada-xref.el | 12 |
5 files changed, 26 insertions, 17 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d6a02ab6cb5..59ba9d55163 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * progmodes/ada-xref.el (ada-gnat-parse-gpr): | ||
| 4 | * emulation/edt.el (edt-load-keys): Avoid (expand-file-name "."). | ||
| 5 | |||
| 1 | 2010-05-26 Glenn Morris <rgm@gnu.org> | 6 | 2010-05-26 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * emulation/edt.el (edt-load-keys): Use locate-library. | 8 | * emulation/edt.el (edt-load-keys): Use locate-library. |
| @@ -6,8 +11,8 @@ | |||
| 6 | 11 | ||
| 7 | * log-edit.el (log-edit-strip-single-file-name): Default to nil. | 12 | * log-edit.el (log-edit-strip-single-file-name): Default to nil. |
| 8 | (log-edit-changelog-entries): Doc fix. | 13 | (log-edit-changelog-entries): Doc fix. |
| 9 | (log-edit-changelog-insert-entries): Args changed. Rename | 14 | (log-edit-changelog-insert-entries): Args changed. |
| 10 | relative filenames in ChangeLog entries. Delete tabs. | 15 | Rename relative filenames in ChangeLog entries. Delete tabs. |
| 11 | (log-edit-insert-changelog-entries): Reorganize return value of | 16 | (log-edit-insert-changelog-entries): Reorganize return value of |
| 12 | `log-edit-changelog-entries' to pass filenames to | 17 | `log-edit-changelog-entries' to pass filenames to |
| 13 | log-edit-changelog-insert-entries. | 18 | log-edit-changelog-insert-entries. |
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el index 913e5054c47..88b74afe86b 100644 --- a/lisp/emulation/edt.el +++ b/lisp/emulation/edt.el | |||
| @@ -2072,7 +2072,7 @@ created." | |||
| 2072 | use it! Perhaps it's lying around here someplace. \n ") | 2072 | use it! Perhaps it's lying around here someplace. \n ") |
| 2073 | (let ((path (locate-library | 2073 | (let ((path (locate-library |
| 2074 | "edt-mapper" | 2074 | "edt-mapper" |
| 2075 | nil (append (list (expand-file-name ".")) load-path)))) | 2075 | nil (append (list default-directory) load-path)))) |
| 2076 | (if path | 2076 | (if path |
| 2077 | (progn | 2077 | (progn |
| 2078 | (insert (format | 2078 | (insert (format |
| @@ -2563,12 +2563,12 @@ Argument GOLD-BINDING is the Emacs function to be bound to GOLD <KEY>." | |||
| 2563 | ;;; DEFAULT EDT KEYPAD HELP | 2563 | ;;; DEFAULT EDT KEYPAD HELP |
| 2564 | ;;; | 2564 | ;;; |
| 2565 | 2565 | ||
| 2566 | ;;; | 2566 | ;; |
| 2567 | ;;; Upper case commands in the keypad diagram below indicate that the | 2567 | ;; Upper case commands in the keypad diagram below indicate that the |
| 2568 | ;;; emulation should look and feel very much like EDT. Lower case | 2568 | ;; emulation should look and feel very much like EDT. Lower case |
| 2569 | ;;; commands are enhancements and/or additions to the EDT keypad | 2569 | ;; commands are enhancements and/or additions to the EDT keypad |
| 2570 | ;;; commands or are native Emacs commands. | 2570 | ;; commands or are native Emacs commands. |
| 2571 | ;;; | 2571 | ;; |
| 2572 | 2572 | ||
| 2573 | (defun edt-keypad-help () | 2573 | (defun edt-keypad-help () |
| 2574 | "DEFAULT EDT Keypad Active. | 2574 | "DEFAULT EDT Keypad Active. |
| @@ -2677,7 +2677,7 @@ G-C-\\: Split Window | FNDNXT | Yank | CUT | | |||
| 2677 | 2677 | ||
| 2678 | ;;; | 2678 | ;;; |
| 2679 | ;;; EDT emulation screen width commands. | 2679 | ;;; EDT emulation screen width commands. |
| 2680 | ;;; | 2680 | ;; |
| 2681 | ;; Some terminals require modification of terminal attributes when | 2681 | ;; Some terminals require modification of terminal attributes when |
| 2682 | ;; changing the number of columns displayed, hence the fboundp tests | 2682 | ;; changing the number of columns displayed, hence the fboundp tests |
| 2683 | ;; below. These functions are defined in the corresponding terminal | 2683 | ;; below. These functions are defined in the corresponding terminal |
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog index f157fc5d291..35007edfe15 100644 --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * org.el (org-file-complete-link): Avoid (expand-file-name "."). | ||
| 4 | |||
| 1 | 2010-05-07 Chong Yidong <cyd@stupidchicken.com> | 5 | 2010-05-07 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * Version 23.2 released. | 7 | * Version 23.2 released. |
diff --git a/lisp/org/org.el b/lisp/org/org.el index 98179ed9d06..7aa385fee9d 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el | |||
| @@ -8316,7 +8316,7 @@ Use TAB to complete link prefixes, then RET for type-specific completion support | |||
| 8316 | (setq file (read-file-name "File: ")) | 8316 | (setq file (read-file-name "File: ")) |
| 8317 | (let ((pwd (file-name-as-directory (expand-file-name "."))) | 8317 | (let ((pwd (file-name-as-directory (expand-file-name "."))) |
| 8318 | (pwd1 (file-name-as-directory (abbreviate-file-name | 8318 | (pwd1 (file-name-as-directory (abbreviate-file-name |
| 8319 | (expand-file-name "."))))) | 8319 | default-directory)))) |
| 8320 | (cond | 8320 | (cond |
| 8321 | ((equal arg '(16)) | 8321 | ((equal arg '(16)) |
| 8322 | (setq link (org-make-link | 8322 | (setq link (org-make-link |
diff --git a/lisp/progmodes/ada-xref.el b/lisp/progmodes/ada-xref.el index bf836b20eee..5eefe340646 100644 --- a/lisp/progmodes/ada-xref.el +++ b/lisp/progmodes/ada-xref.el | |||
| @@ -381,9 +381,9 @@ Assumes environment variable ADA_PROJECT_PATH is set properly." | |||
| 381 | (forward-line 1) ; first directory in list | 381 | (forward-line 1) ; first directory in list |
| 382 | (while (not (looking-at "^$")) ; terminate on blank line | 382 | (while (not (looking-at "^$")) ; terminate on blank line |
| 383 | (back-to-indentation) ; skip whitespace | 383 | (back-to-indentation) ; skip whitespace |
| 384 | (if (looking-at "<Current_Directory>") | 384 | (add-to-list 'src-dir |
| 385 | (add-to-list 'src-dir (expand-file-name ".")) | 385 | (if (looking-at "<Current_Directory>") |
| 386 | (add-to-list 'src-dir | 386 | default-directory |
| 387 | (expand-file-name | 387 | (expand-file-name |
| 388 | (buffer-substring-no-properties | 388 | (buffer-substring-no-properties |
| 389 | (point) (line-end-position))))) | 389 | (point) (line-end-position))))) |
| @@ -395,9 +395,9 @@ Assumes environment variable ADA_PROJECT_PATH is set properly." | |||
| 395 | (forward-line 1) | 395 | (forward-line 1) |
| 396 | (while (not (looking-at "^$")) | 396 | (while (not (looking-at "^$")) |
| 397 | (back-to-indentation) | 397 | (back-to-indentation) |
| 398 | (if (looking-at "<Current_Directory>") | 398 | (add-to-list 'obj-dir |
| 399 | (add-to-list 'obj-dir (expand-file-name ".")) | 399 | (if (looking-at "<Current_Directory>") |
| 400 | (add-to-list 'obj-dir | 400 | default-directory |
| 401 | (expand-file-name | 401 | (expand-file-name |
| 402 | (buffer-substring-no-properties | 402 | (buffer-substring-no-properties |
| 403 | (point) (line-end-position))))) | 403 | (point) (line-end-position))))) |