diff options
| author | Richard M. Stallman | 1994-05-10 06:55:29 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-10 06:55:29 +0000 |
| commit | 1ff3a40d526c686f9d468bb83f82181e060dea34 (patch) | |
| tree | 26aa257d38df810692e991949b2f26ffa0861674 | |
| parent | a1017d39167a99493197dfc08598605a0acd2175 (diff) | |
| download | emacs-1ff3a40d526c686f9d468bb83f82181e060dea34.tar.gz emacs-1ff3a40d526c686f9d468bb83f82181e060dea34.zip | |
(texinfo-every-node-update, texinfo-all-menus-update): Bind mark-active to t.
| -rw-r--r-- | lisp/textmodes/texnfo-upd.el | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/lisp/textmodes/texnfo-upd.el b/lisp/textmodes/texnfo-upd.el index 8fbb7482773..d43d1c50466 100644 --- a/lisp/textmodes/texnfo-upd.el +++ b/lisp/textmodes/texnfo-upd.el | |||
| @@ -248,13 +248,19 @@ nodes in the buffer before updating the menus." | |||
| 248 | (sleep-for 2) | 248 | (sleep-for 2) |
| 249 | (push-mark (point-max) t) | 249 | (push-mark (point-max) t) |
| 250 | (goto-char (point-min)) | 250 | (goto-char (point-min)) |
| 251 | (texinfo-update-node t))) | 251 | ;; Using the mark to pass bounds this way |
| 252 | ;; is kludgy, but it's not worth fixing. -- rms. | ||
| 253 | (let ((mark-active t)) | ||
| 254 | (texinfo-update-node t)))) | ||
| 252 | 255 | ||
| 253 | (message "Updating all menus in %s ... " (buffer-name)) | 256 | (message "Updating all menus in %s ... " (buffer-name)) |
| 254 | (sleep-for 2) | 257 | (sleep-for 2) |
| 255 | (push-mark (point-max) t) | 258 | (push-mark (point-max) t) |
| 256 | (goto-char (point-min)) | 259 | (goto-char (point-min)) |
| 257 | (texinfo-make-menu t) | 260 | ;; Using the mark to pass bounds this way |
| 261 | ;; is kludgy, but it's not worth fixing. -- rms. | ||
| 262 | (let ((mark-active t)) | ||
| 263 | (texinfo-make-menu t)) | ||
| 258 | 264 | ||
| 259 | (if master-menu-p | 265 | (if master-menu-p |
| 260 | (progn | 266 | (progn |
| @@ -1270,7 +1276,10 @@ which menu descriptions are indented. Its default value is 32." | |||
| 1270 | (save-excursion | 1276 | (save-excursion |
| 1271 | (push-mark (point-max) t) | 1277 | (push-mark (point-max) t) |
| 1272 | (goto-char (point-min)) | 1278 | (goto-char (point-min)) |
| 1273 | (texinfo-update-node t) | 1279 | ;; Using the mark to pass bounds this way |
| 1280 | ;; is kludgy, but it's not worth fixing. -- rms. | ||
| 1281 | (let ((mark-active t)) | ||
| 1282 | (texinfo-update-node t)) | ||
| 1274 | (message "Done...updated every node. You may save the buffer."))) | 1283 | (message "Done...updated every node. You may save the buffer."))) |
| 1275 | 1284 | ||
| 1276 | (defun texinfo-update-the-node () | 1285 | (defun texinfo-update-the-node () |