aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ehelp.el
diff options
context:
space:
mode:
authorJuanma Barranquero2003-02-04 11:26:42 +0000
committerJuanma Barranquero2003-02-04 11:26:42 +0000
commit71296446d3cec5bb2a27bc5ad6da574df38d0ec8 (patch)
tree0204c3c252547a44e2404959409034406f7680cd /lisp/ehelp.el
parent693ff6134cb2ec65c7d188696f012662edadfbf0 (diff)
downloademacs-71296446d3cec5bb2a27bc5ad6da574df38d0ec8.tar.gz
emacs-71296446d3cec5bb2a27bc5ad6da574df38d0ec8.zip
Trailing whitespace deleted.
Diffstat (limited to 'lisp/ehelp.el')
-rw-r--r--lisp/ehelp.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/ehelp.el b/lisp/ehelp.el
index a2ea97688a5..f5996068842 100644
--- a/lisp/ehelp.el
+++ b/lisp/ehelp.el
@@ -181,7 +181,7 @@ BUFFER is put into `default-major-mode' (or `fundamental-mode') when we exit."
181 (condition-case () 181 (condition-case ()
182 (funcall (or default-major-mode 'fundamental-mode)) 182 (funcall (or default-major-mode 'fundamental-mode))
183 (error nil)) 183 (error nil))
184 184
185 (set-window-configuration config) 185 (set-window-configuration config)
186 (when bury 186 (when bury
187 ;;>> Perhaps this shouldn't be done, 187 ;;>> Perhaps this shouldn't be done,
@@ -211,8 +211,8 @@ BUFFER is put into `default-major-mode' (or `fundamental-mode') when we exit."
211 (Electric-command-loop 211 (Electric-command-loop
212 'exit 212 'exit
213 (function (lambda () 213 (function (lambda ()
214 (sit-for 0) ;necessary if last command was end-of-buffer or 214 (sit-for 0) ;necessary if last command was end-of-buffer or
215 ;beginning-of-buffer - otherwise pos-visible-in-window-p 215 ;beginning-of-buffer - otherwise pos-visible-in-window-p
216 ;will yield a wrong result. 216 ;will yield a wrong result.
217 (let ((min (pos-visible-in-window-p (point-min))) 217 (let ((min (pos-visible-in-window-p (point-min)))
218 (max (pos-visible-in-window-p (point-max)))) 218 (max (pos-visible-in-window-p (point-max))))
@@ -343,7 +343,7 @@ will select it.)"
343 343
344 344
345 345
346;; This is to be bound to M-x in ehelp mode. Retains ehelp buffer and then 346;; This is to be bound to M-x in ehelp mode. Retains ehelp buffer and then
347;; continues with execute-extended-command. 347;; continues with execute-extended-command.
348(defun electric-help-execute-extended (prefixarg) 348(defun electric-help-execute-extended (prefixarg)
349 (interactive "p") 349 (interactive "p")
@@ -407,7 +407,7 @@ will select it.)"
407(defvar ehelp-map ()) 407(defvar ehelp-map ())
408(if ehelp-map 408(if ehelp-map
409 nil 409 nil
410 (let ((map (copy-keymap help-map))) 410 (let ((map (copy-keymap help-map)))
411 (substitute-key-definition 'apropos 'electric-apropos map) 411 (substitute-key-definition 'apropos 'electric-apropos map)
412 (substitute-key-definition 'command-apropos 'electric-command-apropos map) 412 (substitute-key-definition 'command-apropos 'electric-command-apropos map)
413 (substitute-key-definition 'describe-key 'electric-describe-key map) 413 (substitute-key-definition 'describe-key 'electric-describe-key map)
@@ -421,6 +421,6 @@ will select it.)"
421 (setq ehelp-map map) 421 (setq ehelp-map map)
422 (fset 'ehelp-command map))) 422 (fset 'ehelp-command map)))
423 423
424(provide 'ehelp) 424(provide 'ehelp)
425 425
426;;; ehelp.el ends here 426;;; ehelp.el ends here