aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2007-10-05 09:50:37 +0000
committerJuanma Barranquero2007-10-05 09:50:37 +0000
commit462db93c4cfb0028ae646be9d964be950b6388bf (patch)
tree730bc468075c4acaf830d7da6602dad01d39e1fc
parent4024ec3a26d62f7fd99f4868e6e02c225bd3347c (diff)
downloademacs-462db93c4cfb0028ae646be9d964be950b6388bf.tar.gz
emacs-462db93c4cfb0028ae646be9d964be950b6388bf.zip
(bs--get-marked-string, bs--get-modified-string, bs--get-readonly-string,
bs--get-size-string, bs--get-name, bs--get-mode-name, bs-mode): Fix typos in docstrings. (bs--format-aux): Doc fix.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/bs.el16
2 files changed, 15 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9af02379a86..558afa6d8be 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12007-10-05 Juanma Barranquero <lekktu@gmail.com>
2
3 * bs.el (bs--get-marked-string, bs--get-modified-string)
4 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
5 (bs--get-mode-name, bs-mode): Fix typos in docstrings.
6 (bs--format-aux): Doc fix.
7
12007-10-04 Juanma Barranquero <lekktu@gmail.com> 82007-10-04 Juanma Barranquero <lekktu@gmail.com>
2 9
3 * image-dired.el (image-dired-image-at-point-p): Fix typo in docstring. 10 * image-dired.el (image-dired-image-at-point-p): Fix typo in docstring.
diff --git a/lisp/bs.el b/lisp/bs.el
index a7f46afdf3b..29e5e40687a 100644
--- a/lisp/bs.el
+++ b/lisp/bs.el
@@ -619,7 +619,7 @@ actually the line which begins with character in `bs-string-current' or
619\\<bs-mode-map> 619\\<bs-mode-map>
620Aside from two header lines each line describes one buffer. 620Aside from two header lines each line describes one buffer.
621Move to a line representing the buffer you want to edit and select 621Move to a line representing the buffer you want to edit and select
622buffer by \\[bs-select] or SPC. Abort buffer list with \\[bs-kill]. 622buffer by \\[bs-select] or SPC. Abort buffer list with \\[bs-kill].
623There are many key commands similar to `Buffer-menu-mode' for 623There are many key commands similar to `Buffer-menu-mode' for
624manipulating the buffer list and buffers. 624manipulating the buffer list and buffers.
625For faster navigation each digit key is a digit argument. 625For faster navigation each digit key is a digit argument.
@@ -1274,7 +1274,7 @@ or a string."
1274(defun bs--get-marked-string (start-buffer all-buffers) 1274(defun bs--get-marked-string (start-buffer all-buffers)
1275 "Return a string which describes whether current buffer is marked. 1275 "Return a string which describes whether current buffer is marked.
1276START-BUFFER is the buffer where we started buffer selection. 1276START-BUFFER is the buffer where we started buffer selection.
1277ALL-BUFFERS is the list of buffer appearing in Buffer Selection Menu. 1277ALL-BUFFERS is the list of buffers appearing in Buffer Selection Menu.
1278The result string is one of `bs-string-current', `bs-string-current-marked', 1278The result string is one of `bs-string-current', `bs-string-current-marked',
1279`bs-string-marked', `bs-string-show-normally', `bs-string-show-never', or 1279`bs-string-marked', `bs-string-show-normally', `bs-string-show-never', or
1280`bs-string-show-always'." 1280`bs-string-show-always'."
@@ -1299,19 +1299,19 @@ The result string is one of `bs-string-current', `bs-string-current-marked',
1299(defun bs--get-modified-string (start-buffer all-buffers) 1299(defun bs--get-modified-string (start-buffer all-buffers)
1300 "Return a string which describes whether current buffer is modified. 1300 "Return a string which describes whether current buffer is modified.
1301START-BUFFER is the buffer where we started buffer selection. 1301START-BUFFER is the buffer where we started buffer selection.
1302ALL-BUFFERS is the list of buffer appearing in Buffer Selection Menu." 1302ALL-BUFFERS is the list of buffers appearing in Buffer Selection Menu."
1303 (if (buffer-modified-p) "*" " ")) 1303 (if (buffer-modified-p) "*" " "))
1304 1304
1305(defun bs--get-readonly-string (start-buffer all-buffers) 1305(defun bs--get-readonly-string (start-buffer all-buffers)
1306 "Return a string which describes whether current buffer is read only. 1306 "Return a string which describes whether current buffer is read only.
1307START-BUFFER is the buffer where we started buffer selection. 1307START-BUFFER is the buffer where we started buffer selection.
1308ALL-BUFFERS is the list of buffer appearing in Buffer Selection Menu." 1308ALL-BUFFERS is the list of buffers appearing in Buffer Selection Menu."
1309 (if buffer-read-only "%" " ")) 1309 (if buffer-read-only "%" " "))
1310 1310
1311(defun bs--get-size-string (start-buffer all-buffers) 1311(defun bs--get-size-string (start-buffer all-buffers)
1312 "Return a string which describes the size of current buffer. 1312 "Return a string which describes the size of current buffer.
1313START-BUFFER is the buffer where we started buffer selection. 1313START-BUFFER is the buffer where we started buffer selection.
1314ALL-BUFFERS is the list of buffer appearing in Buffer Selection Menu." 1314ALL-BUFFERS is the list of buffers appearing in Buffer Selection Menu."
1315 (int-to-string (buffer-size))) 1315 (int-to-string (buffer-size)))
1316 1316
1317(defun bs--get-name (start-buffer all-buffers) 1317(defun bs--get-name (start-buffer all-buffers)
@@ -1319,7 +1319,7 @@ ALL-BUFFERS is the list of buffer appearing in Buffer Selection Menu."
1319The name of current buffer gets additional text properties 1319The name of current buffer gets additional text properties
1320for mouse highlighting. 1320for mouse highlighting.
1321START-BUFFER is the buffer where we started buffer selection. 1321START-BUFFER is the buffer where we started buffer selection.
1322ALL-BUFFERS is the list of buffer appearing in Buffer Selection Menu." 1322ALL-BUFFERS is the list of buffers appearing in Buffer Selection Menu."
1323 (propertize (buffer-name) 1323 (propertize (buffer-name)
1324 'help-echo "mouse-2: select this buffer, mouse-3: select in other frame" 1324 'help-echo "mouse-2: select this buffer, mouse-3: select in other frame"
1325 'mouse-face 'highlight)) 1325 'mouse-face 'highlight))
@@ -1327,7 +1327,7 @@ ALL-BUFFERS is the list of buffer appearing in Buffer Selection Menu."
1327(defun bs--get-mode-name (start-buffer all-buffers) 1327(defun bs--get-mode-name (start-buffer all-buffers)
1328 "Return the name of mode of current buffer for Buffer Selection Menu. 1328 "Return the name of mode of current buffer for Buffer Selection Menu.
1329START-BUFFER is the buffer where we started buffer selection. 1329START-BUFFER is the buffer where we started buffer selection.
1330ALL-BUFFERS is the list of buffer appearing in Buffer Selection Menu." 1330ALL-BUFFERS is the list of buffers appearing in Buffer Selection Menu."
1331 mode-name) 1331 mode-name)
1332 1332
1333(defun bs--get-file-name (start-buffer all-buffers) 1333(defun bs--get-file-name (start-buffer all-buffers)
@@ -1372,7 +1372,7 @@ normally *buffer-selection*."
1372 string)) 1372 string))
1373 1373
1374(defun bs--format-aux (string align len) 1374(defun bs--format-aux (string align len)
1375 "Generate a string with STRING with alignment ALIGN and length LEN. 1375 "Pad STRING to length LEN with alignment ALIGN.
1376ALIGN is one of the symbols `left', `middle', or `right'." 1376ALIGN is one of the symbols `left', `middle', or `right'."
1377 (let* ((width (length string)) 1377 (let* ((width (length string))
1378 (len (max len width))) 1378 (len (max len width)))