summaryrefslogtreecommitdiff
path: root/lisp/ses.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-09-01 18:21:42 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-09-01 18:23:21 -0700
commit19532d147b431a4fe34f088d6de07891c48e2c5c (patch)
tree19baea54fefb82f849ed67e49a287a715fe050cc /lisp/ses.el
parent5dc644a6b01e2cf950ff617ab15be4bf1917c38c (diff)
downloademacs-19532d147b431a4fe34f088d6de07891c48e2c5c.tar.gz
emacs-19532d147b431a4fe34f088d6de07891c48e2c5c.tar.bz2
emacs-19532d147b431a4fe34f088d6de07891c48e2c5c.zip
Escape ` and ' in doc
Escape apostrophes and grave accents in docstrings if they are are supposed to stand for themselves and are not quotes. Remove apostrophes from docstring examples like ‘'(calendar-nth-named-day -1 0 10 year)’ that confuse source code with data. Do some other minor docstring fixups as well, e.g., insert a missing close quote.
Diffstat (limited to 'lisp/ses.el')
-rw-r--r--lisp/ses.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ses.el b/lisp/ses.el
index 0bc43ec8b58..ec1359bbbcb 100644
--- a/lisp/ses.el
+++ b/lisp/ses.el
@@ -1491,11 +1491,11 @@ by (ROWINCR,COLINCR)."
"Produce a copy of FORMULA where all symbols that refer to cells in row
STARTROW or above, and col STARTCOL or above, are altered by adding ROWINCR
and COLINCR. STARTROW and STARTCOL are 0-based. Example:
- (ses-relocate-formula '(+ A1 B2 D3) 1 2 1 -1)
+ (ses-relocate-formula \\='(+ A1 B2 D3) 1 2 1 -1)
=> (+ A1 B2 C4)
If ROWINCR or COLINCR is negative, references to cells being deleted are
removed. Example:
- (ses-relocate-formula '(+ A1 B2 D3) 0 1 0 -1)
+ (ses-relocate-formula \\='(+ A1 B2 D3) 0 1 0 -1)
=> (+ A1 C3)
Sets `ses-relocate-return' to 'delete if cell-references were removed."
(let (rowcol result)