diff options
| -rw-r--r-- | lisp/bookmark.el | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 65f117a0411..ec5a4f590f1 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el | |||
| @@ -215,13 +215,6 @@ following in your `.emacs' file: | |||
| 215 | ;; some random value higher than 9600 | 215 | ;; some random value higher than 9600 |
| 216 | (setq baud-rate 19200)) | 216 | (setq baud-rate 19200)) |
| 217 | 217 | ||
| 218 | ;; XEmacs apparently call this `buffer-substring-without-properties', | ||
| 219 | ;; sigh. | ||
| 220 | (or (fboundp 'buffer-substring-no-properties) | ||
| 221 | (if (fboundp 'buffer-substring-without-properties) | ||
| 222 | (fset 'buffer-substring-no-properties | ||
| 223 | 'buffer-substring-without-properties) | ||
| 224 | (fset 'buffer-substring-no-properties 'buffer-substring))) | ||
| 225 | 218 | ||
| 226 | 219 | ||
| 227 | ;;; Keymap stuff: | 220 | ;;; Keymap stuff: |
| @@ -1097,10 +1090,8 @@ of the old one in the permanent bookmark record." | |||
| 1097 | ) | 1090 | ) |
| 1098 | (if (or | 1091 | (if (or |
| 1099 | (file-exists-p file) | 1092 | (file-exists-p file) |
| 1100 | ;; else try some common compression extensions | 1093 | ;; Else try some common compression extensions, which Emacs |
| 1101 | ;; and Emacs better handle it right! | 1094 | ;; usually handles right. I hope. |
| 1102 | ;; Sigh: I think it may *not* be handled at the moment. What | ||
| 1103 | ;; to do about this? | ||
| 1104 | (setq file | 1095 | (setq file |
| 1105 | (or | 1096 | (or |
| 1106 | (let ((altname (concat file ".Z"))) | 1097 | (let ((altname (concat file ".Z"))) |
| @@ -1111,7 +1102,9 @@ of the old one in the permanent bookmark record." | |||
| 1111 | altname)) | 1102 | altname)) |
| 1112 | (let ((altname (concat file ".z"))) | 1103 | (let ((altname (concat file ".z"))) |
| 1113 | (and (file-exists-p altname) | 1104 | (and (file-exists-p altname) |
| 1114 | altname))))) | 1105 | altname)) |
| 1106 | ;; Check VC incarnations, preparatory to checkout | ||
| 1107 | (if (vc-backend file) file nil)))) | ||
| 1115 | (save-excursion | 1108 | (save-excursion |
| 1116 | (save-window-excursion | 1109 | (save-window-excursion |
| 1117 | (if info-node | 1110 | (if info-node |